1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

Dockerfileのコマンドでjupyter labを起動する方法

Last updated at Posted at 2022-07-14

dockerを用いてJupyterLabを起動させる際のコマンドについて調べたため、記述しておく。

CMD ["jupyter", "lab", "--ip=0.0.0.0", "--port=8888", "--allow-root", "--LabApp.token=''"]

コマンドの説明

"jupyter", "lab", ・・・JupyterLabの起動。
"--ip=0.0.0.0",  ・・・IPアドレスをローカルホストに指定。
"--allow-root", ・・・JupyterLabはデフォルトではrootユーザでの実行はNGのため、rootで実行できるよう設定。
"--LabApp.token=''" ・・・通常は、JupyterLabを起動する際にパスワードを設定するが、その際にトークンを必要とする。今回は必要なかったため、トークンを指定していない。

1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?