Docker's image management commonly used commands

1. List the current local mirror: Docker Image LS Docker's image management commonly used commands
2. View Mirror layered history: docker history image name: tag
Docker's image management commonly used commands
3. View Mirror specific details: docker image inspect mirror name: tag can see the container configure the host name, working directory, data volume information, and other labels .
Docker's image management commonly used commands
4.docker image pull nginx: 1.11 Download nginx docker from warehouse: 1.11 mirroring
Docker's image management commonly used commands
5.docker image rm busybox: latest remove the mirror
Docker's image management commonly used commands
6.docker image tag nginx: latest nginx: V1 change the image of the label
Docker's image management commonly used commands

7.docker image save nginx: 1.11> nginx1.11.tar stored as a local file redirection mirror
Docker's image management commonly used commands
8.docker image load <nginx1.11.tar into the local file
Docker's image management commonly used commands

  1. docker image export 018eff83b7bf> busybox.tar export run container, a file system running
    Docker's image management commonly used commands
    10.docker image import busybox.tar introduced into the container, after the container is introduced into the operation.
    Summary: docker save an image file is exported to all layers contains an archive file, is the operation target image
    docker export container is derived a running system to an archive file, the operation object is a container

Guess you like

Origin blog.51cto.com/8922100/2480578