docker info
docker ps
docker ps -a
docker run -i -t xx /bin/bash
docker run --name bob_the_container -i -t ubuntun /bin/bash
docker start bob_the_container
docker run --name xx -d xx /bin/bash
docker logs xx docker logs -ft xx
docker run --log-driver="syslog" --name doname -d ubuntun /bin/bash
image.png
docker top doname
docker stats xx
docker exec -d daemon_dave touch /etc/new_config_file
docker exec -t -i daemon_dave /bin/bash
docker stop daemon_dave
docker ps -n x
docker run --restart=always --name daemon_dave -d centos /bin/bash
docker rm xxx
docker rm -f xx
docker rm sudo docker ps -a -q
#删除所有容器
docker inspect daemon_dave
image.png
image.png
docker images docker image fedora
docker pull centos:7
docker run -t -i --name newcon centos:7 /bin/bash
docker commit
docker login