#202110201636 Image is simply a template for building #202203281423. It simplifies the software deployment in Linux distributions by the DevOps.
CLI
There are various #202110201636 commands that interact with the Docker Image.
We could download a specific image from #202203251430 by executing docker pull {registry}/{username}/{image-name}
without having the #202203281423 running. If specific version of image should be pulled, define the tag in the format {image-name}:{tag}
. Otherwise, it will always pull the latest
tag version of the image.
We could rename the image by using the command docker image tag {source-image}:{tag} {target-image}:{tag}
.
Listing all the local installed images could be achieved by calling the command docker images
.
To remove an image from the local machine, pass in the image name to the command docker rmi {image-name}
. However, all the containers that is dependent on this image must not be running at the time the command called. If so, the image will persist instead of being removed.