原理資料:https://www.cnblogs.com/betha...
https://www.cnblogs.com/lsgxe...html
yum install -y docker yum list installed | grep docker systemctl start docker systemctl status docker
docker pull bvlc/caffe:cpu
docker run -it -p 8080:7100 bvlc/caffe:cpu bash
lsof -i tcp:80
netstat -ntlpdocker
參考資料:https://blog.csdn.net/taowuhu...vim
docker images
docker ps -a
(加-a能夠查看全部的運行過的生成的容器)bash
docker start xxx
docker cp /root/nsfw_engine 2c5de0ecf182:/opt/caffe/nsfw/
docker attach xxx
docker exec -it [Container ID or Container Name] \bin\bash
若是出錯把「bin」去掉從新進入app
sh start.sh
ps -ef | grep xx_engine_app.py
若是有進程在運行,則說明程序啓動成功了。tcp
退出容器的話可使用 exit 命令
也能夠直接 CTRL+ D 快捷鍵.net
docker commit <container_id> <image_name>
docker rmi 鏡像idcode
docker rm 容器idhtm
apt-get update apt install vim apt install weget apt install yum
apt install net-toolsblog
apt install iputils-ping
docker exec -it bash
docker save -o ./caffe.tar caffe71615:latest docker load -i caffe.tar
scp /home/888.zip 192.168.1.0:/home/