3: 2020-08-21 (金) 17:11:47 iseki  |
現: 2020-08-23 (日) 03:10:43 iseki  |
| | | |
| *** 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"'' に変更 |
| (jupyterhub) # git clone https://github.com/jupyterhub/dockerspawner.git | | (jupyterhub) # git clone https://github.com/jupyterhub/dockerspawner.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 |
| ^C | | ^C |
| (jupyterhub) # docker-compose down | | (jupyterhub) # docker-compose down |
| + | (jupyterhub) # docker swarm leave --force |
| #br | | #br |
- | *** 設定 [#lb485674] | + | |
| **** 設定ファイル(サンプル) [#maa50835] | | **** 設定ファイル(サンプル) [#maa50835] |
| - [[Dcokerfile>./Dokerfile]] | | - [[Dcokerfile>./Dokerfile]] |