docker 零碎

1.

service docker start

docker ps -a
docker attach 2a
docker start -ai 2a
docker start -t -i tesseractshadow/tesseract4re:latest /bin/bash
docker images
docker cp ./test.zip 2af3446091:/

docker commit 7234e tesseract3

docker commit c3f279d17e0a  SvenDowideit/testimage:version3

docker push tesseract3

ctrl p q(background)

2.挂载:

 docker run -it -v /c/dockerProject:/notebook zilongplaytennis/chat_bot:v1.0 /bin/bash

docker run -p 12345:8888 -it -v ~/Code:/CodeHere tensorflow/tensorflow:latest /run_jupyter.sh --allow-root --NotebookApp.token=''


3.删除

docker rm container_id

docker rmi image_tag

4.改jupyter文件路径

ipython_notebook_config.py

#c.NotebookApp.notebook_dir=u’/path/to/your/notebooks’

阅读更多
想对作者说点什么?

博主推荐

换一批

没有更多推荐了,返回首页