sudo docker images 查看所有原有docker
sudo docker ps 查看已启动的docker
sudo docker start 3003 (stop , docker ps - a (all))
sudo docker run -it -d --name 3003 tomcat:lastest 镜像 原docker (复制一个)
docker run --name 3002 -p 3002:8080
-v /usr/local/dockerTomcatColdtest/webapps:/usr/local/tomcat/webapps
-v /usr/local/dockerTomcatColdtest/logs:/usr/local/tomcat/logs -d tomcat
docker(help)
sudo docker exec -it 3003 bash 启动docker
R 1,先cp到docker中 sudo docker cp ... 3004:/tmp ls /tmp