标签:nta TE 文件 状态 lse use xxxx 技术分享 his
docker images
docker ps
docker run IMAGE_ID
docker start/stop/pause/unpause/kill/restart CONTAINER_ID
docker tag IMAGE_ID [REGISTRYHOST/][USERNAME/]NAME[:TAG]
docker pull/push NAME:TAG
docker rm/rmi CONTAINER_ID/IMAGE_ID
docker inspect CONTAINER_ID/IMAGE_ID
docker top CONTAINER_ID
docker info
docker save/load
docker commit CONTAINER_ID
docker export > xxx.tar
docker import - < xxx.tar
docker cp CONTAINER_ID:PATH HOSTPATH
docker diff CONTAINER_ID
docker logs CONTAINER_ID
docker build
Dockerfile
构建镜像docker history IMAGE_ID
5.1 docker查看信息#docker info
5.2 docker查看镜像# docker images
5.3 docker 列出run的容器:#docker ps -a
5.4 pull docker镜像:#docker pull xxxxx
docker查看本地镜像# docker images
如何拉起镜像,用‘docker pull 镜像名’,就会产生上面的hello-world,
基于镜像运行容器的话用,docker run hello-world
参考资料:
https://www.w3cschool.cn/use_docker/use_docker-cjka27zg.html
标签:nta TE 文件 状态 lse use xxxx 技术分享 his
原文地址:https://www.cnblogs.com/yinfutao/p/9198432.html