flagflag  If you want to see English page, please click "English" Button at Left.
1: 2020-08-21 (金) 16:49:29 iseki ソース 2: 2020-08-21 (金) 17:38:33 iseki ソース
Line 1: Line 1:
-** DockerSpawner​ 用 jupyterhub_config.py のサンプル [#vbd02bbc]+*** DockerSpawner​ 用 サンプル jupyterhub_config.py [#vbd02bbc]
 # Configuration file for jupyterhub.  # Configuration file for jupyterhub.
Line 488: Line 488:
 #c.JupyterHub.spawner_class = 'dockerspawner.SwarmSpawner'  #c.JupyterHub.spawner_class = 'dockerspawner.SwarmSpawner'
- #c.DockerSpawner.container_image = 'niicloudoperation/jupyterhub-singleuser​' + #c.DockerSpawner.image = 'niicloudoperation/jupyterhub-singleuser​' 
- #c.DockerSpawner.container_image = 'niicloudoperation/notebook' + #c.DockerSpawner.image = 'niicloudoperation/notebook' 
- c.DockerSpawner.container_image = 'jupyterhub/singleuser'+ c.DockerSpawner.image = 'jupyterhub/singleuser'
 #c.DockerSpawner.image_whitelist = {  #c.DockerSpawner.image_whitelist = {
 #    "deepdetect-gpu (Tensorflow+PyTorch)": "jolibrain/jupyter-dd-notebook-gpu",  #    "deepdetect-gpu (Tensorflow+PyTorch)": "jolibrain/jupyter-dd-notebook-gpu",
Line 499: Line 499:
 #    "coursewarehub": "niicloudoperation/jupyterhub-singleuser",  #    "coursewarehub": "niicloudoperation/jupyterhub-singleuser",
 #}  #}
- c.DockerSpawner.remove_containers = True + c.DockerSpawner.remove = True 
- #c.DockerSpawner.extra_create_kwargs = {'user': 'root'}+ c.DockerSpawner.extra_create_kwargs​ = {'user': 'root'}
 #c.DockerSpawner.extra_host_config = {'runtime': 'nvidia'}  #c.DockerSpawner.extra_host_config = {'runtime': 'nvidia'}
 c.Spawner.environment = {'GRANT_SUDO': 'yes'}  c.Spawner.environment = {'GRANT_SUDO': 'yes'}
- #c.DockerSpawner.hub_connect_ip = '192.168.27.20' 
- c.DockerSpawner.hub_connect_ip = '0.0.0.0' 
 notebook_dir = '/home/jovyan/work'  notebook_dir = '/home/jovyan/work'
- #notebook_dir = '/jupyter/users/{username}/work' 
 c.DockerSpawner.notebook_dir = notebook_dir  c.DockerSpawner.notebook_dir = notebook_dir
 c.DockerSpawner.volumes = { 'jupyterhub-user-{username}': notebook_dir }  c.DockerSpawner.volumes = { 'jupyterhub-user-{username}': notebook_dir }
Line 915: Line 912:
 #  Defaults to an empty set, in which case no user has admin access.  #  Defaults to an empty set, in which case no user has admin access.
 #c.Authenticator.admin_users = set()  #c.Authenticator.admin_users = set()
- #c.Authenticator.admin_users = {''}+ c.Authenticator.admin_users = {'admin'}
 ## The max age (in seconds) of authentication info before forcing a refresh of  ## The max age (in seconds) of authentication info before forcing a refresh of


トップ   新規 ページ一覧 単語検索 最終更新   ヘルプ   最終更新のRSS 1.0 最終更新のRSS 2.0 最終更新のRSS Atom

サイト内 検索

ログイン

ユーザー名:

パスワード:


パスワード紛失
新規登録

サブ メニュー

ミニカレンダー

前月2024年 4月翌月
1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30
<今日>

オンライン状況

120 人のユーザが現在オンラインです。 (32 人のユーザが xpwiki を参照しています。)

登録ユーザ: 0
ゲスト: 120

もっと...

アクセスカウンタ

今日 : 5329532953295329
昨日 : 1529415294152941529415294
総計 : 2340002923400029234000292340002923400029234000292340002923400029
Powered by XOOPS Cube 2.1© 2001-2006 XOOPS Cube Project
Design by XoopsDesign.com