Docker容器管理
docker ps
docker ps -l
docker ps -a
docker port ContainerID
docker run -i -t ubuntu:16.04 /bin/bash
docker start ContainerID/ContainerName
exit
docker stop ContainerID/ContainerName
Ctrl + Q + P
docker stop ContainerID/ContainerName
docker rm ContainerID/ContainerName
docker run -p 80:80 --name test -i -t ubuntu:16.04 /bin/bash
docker run -p 80 --name test -i -t ubuntu:16.04 /bin/bash
# update Images use Container
docker commit -m="Update Images" -a="linduo" ContainerID/ContainerNameubuntu:16.04
docker run -i -t -v /home/linduo/Work/Test:/home/Test/ ubuntu:16.04 /bin/bash
docker prot xxxx
docker run -p 80:80 --name test -i -t test:v2 /bin/bash
docker run -p 80 --name test -i -t test:v2 /bin/bash
Docker系列