flagflag  
3: 2020-08-21 (Fri) 17:11:47 iseki source Cur: 2020-08-23 (Sun) 03:10:43 iseki source
Line 9: Line 9:
*** Example [#iea90492] *** Example [#iea90492]
 +- 8000, 8001, 8081番のポート(TCP)を開ける.
 +- さらに swarmのテストを行う場合は,swarm のコントロール用の 2377/tcp, 7946/tcp, 7946/udp, 4789/udp を開ける
- jupyterhub 1.1.0 はPAM認証でバグがある.see Trouble Shooting of [[JupyterHub]] - jupyterhub 1.1.0 はPAM認証でバグがある.see Trouble Shooting of [[JupyterHub]]
-- 今回の Jupyterhub はコンテナ中で起動.Dockerfile でバージョンを指定. -- 今回の Jupyterhub はコンテナ中で起動.Dockerfile でバージョンを指定.
- CentOS8 では Dockerfile の pip でエラーがでる.see Trouble Shooting of [[Docker]] - CentOS8 では Dockerfile の pip でエラーがでる.see Trouble Shooting of [[Docker]]
 +-- squid を動かす場合は 3128番のポート(TCP)を開ける
- jupyterhub_config.py を変更 - jupyterhub_config.py を変更
-- c.Spawner.cmd = ["jupyter", "labhub"] のコマンドを ''"jupyterhub-singleuser"'' に変更 -- c.Spawner.cmd = ["jupyter", "labhub"] のコマンドを ''"jupyterhub-singleuser"'' に変更
Line 19: Line 22:
 (jupyterhub) # git clone https://github.com/jupyterhub/dockerspaw​ner.git  (jupyterhub) # git clone https://github.com/jupyterhub/dockerspaw​ner.git
 (jupyterhub) # cd dockerspawner/examples/swarm/  (jupyterhub) # cd dockerspawner/examples/swarm/
 + (jupyterhub) # vi Dockerfile
 + (jupyterhub) # vi jupyter_config.py
 (jupyterhub) # docker swarm init  (jupyterhub) # docker swarm init
 (jupyterhub) # docker-compose build  (jupyterhub) # docker-compose build
Line 25: Line 30:
 ^C  ^C
 (jupyterhub) # docker-compose down  (jupyterhub) # docker-compose down
 + (jupyterhub) # docker swarm leave --force
#br #br
-*** 設定 [#lb485674]+
**** 設定ファイル(サンプル) [#maa50835] **** 設定ファイル(サンプル) [#maa50835]
- [[Dcokerfile>./Dokerfile]] - [[Dcokerfile>./Dokerfile]]


Front page   New List of Pages Search Recent changes   Help   RSS of recent changes (RSS 1.0) RSS of recent changes (RSS 2.0) RSS of recent changes (RSS Atom)

Site Search

Login

Username:

Password:


Lost Password?
Register now!!

Sub Menu

mini Calendar

Last MonthMay 2024Next Month
Su Mo Tu We Th Fr Sa
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 31
Today

Who's Online

85 user(s) are online (17 user(s) are browsing xpwiki)

Members: 0
Guests: 85

more...

Access Counter

Today : 3625362536253625
Yesterday : 1412914129141291412914129
Total : 2344923523449235234492352344923523449235234492352344923523449235
Powered by XOOPS Cube 2.1© 2001-2006 XOOPS Cube Project
Design by XoopsDesign.com