A common command to use
docker version Check the docker version
systemclt start docker start the container
docker search image search
docker images list images
docker pull image name to get the image
docker pull busybox:latest Get the latest image
docker save busybox:latest -o busybox.tar
Export image docker rmi busybox
Delete the image docker load -i busybox.tar
Import the image docker run –name busybox_v1 (custom container name) busybox:latest (image name)…
The post Docker Common Notes Summary first appeared on Lenix Blog .
This article is reprinted from https://blog.p2hp.com/archives/9415
This site is for inclusion only, and the copyright belongs to the original author.