docker pull
docker images
可以查看REPOSITORY、TAG、IMAGE ID、CREATED與SIZE。
docker build [OPTIONS] PATH | URL | -
docker push [OPTIONS] NAME[:TAG]
docker create [OPTIONS] IMAGE [COMMAND] [ARG...]
docker ps
docker start <container-id>
docker exec <container-id>
docker stop <container-id>
docker rm <container-id>
docker run <image-id>
"docker run"等於“docker create+docker start”。
可以加入"--rm",在退出Container時,自動刪除Container的資料。
docker rmi <image-id>
docker commit <container-id>
docker save <image-id>
docker export <container-id>
docker inspect <image-id>
docker inspect <container-id>