Pau*_*ier 1 docker jupyter-notebook
jupyter/最小笔记本
# Creating a volume with docker create -- volume
docker volume create --name stagingarea
# Start a jupyter minimal notebook container and map the volume (stagingarea) to a container directory (/data/stagingarea)
docker run -d \
-v stagingarea:/home/jovyan/stagingarea\
-p 8888:8888 \
jupyter/minimal-notebook
Run Code Online (Sandbox Code Playgroud)
# Creating a volume with docker create -- volume
docker volume create --name stagingarea
# Start a jupyter minimal notebook container and map the volume (stagingarea) to a container directory (/data/stagingarea)
docker run -d \
-v stagingarea:/home/jovyan/stagingarea\
-p 8888:8888 \
-e JUPYTER_TOKEN=letmein \
-e GRANT_SUDO=yes \
--user root \
jupyter/minimal-notebook
Run Code Online (Sandbox Code Playgroud)
docker run -d \
-v -v /Users/paulogier/87-docker_parent/usingjupyterwithdocker/Step7_Volumes/stagingarea:/home/jovyan/stagingarea )
-p 8888:8888 \
-e JUPYTER_TOKEN=letmein \
jupyter/minimal-notebook
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
7802 次 |
| 最近记录: |