docker

内容纲要
docker load -i xxx.tar
docker load < xxx.tar
docker save <image_id> > xxx.tar
docker rmi image_id
docker rm container_id
docker kill container_id
docker stop container_id
docker ps
docker images
docker image ls
docker containers
docker container ls
docker build -t image_name:image_tag .
docker run image_name:image_tag -it -d -P cmd
docker exec container_id -it /bin/bash
docker stop $(docker ps -a -q)
docker rm $(docker ps -a -q)
docker rmi $(docker images -q)
docker rmi $(docker images|grep none|awk '{print $3}')

不说点什么喵?

6 − 2 =

此站点使用Akismet来减少垃圾评论。了解我们如何处理您的评论数据