10 lines
317 B
Plaintext
10 lines
317 B
Plaintext
build image by shell:
|
|
docker build -t <author>/jupyter:<tag>
|
|
|
|
run container:
|
|
- First Method
|
|
docker volume create jupyter
|
|
docker run -itd --name jupyter -p 8888:8888 -v jupyter:/jupyter <author>/jupyter:<tag>
|
|
|
|
- Second Method
|
|
docker run -itd --name jupyter -p 8888:8888 -v /path/to/save:/jupyter <author>/jupyter:<tag> |