flagflag  

dockerspawner.SwarmSpawner anchor.png

Page Top

Example anchor.png

  • 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 はコンテナ中で起動.Dockerfile でバージョンを指定.
  • CentOS8 では Dockerfile の pip でエラーがでる.see Trouble Shooting of Docker
    • squid を動かす場合は 3128番のポート(TCP)を開ける
  • jupyterhub_config.py を変更
    • c.Spawner.cmd = ["jupyter", "labhub"] のコマンドを "jupyterhub-singleuser" に変更
    • c.Spawner.default_url = '/lab' を追加
(base) # source activate jupyterhub
(jupyterhub) # git clone https://github.com/jupyterhub/dockerspawner.git
(jupyterhub) # cd dockerspawner/examples/swarm/
(jupyterhub) # vi Dockerfile
(jupyterhub) # vi jupyter_config.py
(jupyterhub) # docker swarm init
(jupyterhub) # docker-compose build
(jupyterhub) # docker-compose up
.......
^C
(jupyterhub) # docker-compose down
(jupyterhub) # docker swarm leave --force
 
Page Top
設定ファイル(サンプル) anchor.png

Front page   Freeze Diff Backup Copy Rename Reload   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)
Counter: 857, today: 1, yesterday: 0
Last-modified: 2020-08-23 (Sun) 03:10:43 (JST) (1349d) by iseki

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

115 user(s) are online (22 user(s) are browsing xpwiki)

Members: 0
Guests: 115

more...

Access Counter

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