Editing Docker images (command)
Jump to navigation
Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
https://docs.docker.com/engine/reference/commandline/images/ | https://docs.docker.com/engine/reference/commandline/images/ | ||
+ | <pre> | ||
+ | $ docker images | ||
− | + | REPOSITORY TAG IMAGE ID CREATED SIZE | |
− | + | <none> <none> 77af4d6b9913 19 hours ago 1.089 GB | |
− | + | committ latest b6fa739cedf5 19 hours ago 1.089 GB | |
− | + | <none> <none> 78a85c484f71 19 hours ago 1.089 GB | |
− | + | docker latest 30557a29d5ab 20 hours ago 1.089 GB | |
− | + | <none> <none> 5ed6274db6ce 24 hours ago 1.089 GB | |
− | + | postgres 9 746b819f315e 4 days ago 213.4 MB | |
− | + | postgres 9.3 746b819f315e 4 days ago 213.4 MB | |
− | + | postgres 9.3.5 746b819f315e 4 days ago 213.4 MB | |
− | + | postgres latest 746b819f315e 4 days ago 213.4 MB | |
− | + | </pre> | |
− | |||
− | |||
− | |||
− | |||
Notes: | Notes: | ||
− | * IMAGE ID column is the first 12 characters of the identifier for an image. You can create many tags of a given image (<code>[[docker tag]]</code><ref>https://docs.docker.com/engine/reference/commandline/tag/</ref>), but their IDs will all be the same, as example above. | + | * IMAGE ID column is the first 12 characters of the identifier for an image. You can create many tags of a given image (<code>[[DevOps/Docker/docker tag|docker tag]]</code><ref>https://docs.docker.com/engine/reference/commandline/tag/</ref>), but their IDs will all be the same, as example above. |
− | |||
− | |||
+ | * REPOSITORY column comes from the -t flag of the docker build command, or from docker tag-ing an existing image. You can tag images using your prefered nomenclature, but docker will use the tag as the [[registry]] location when using <code>docker push</code> or <code>docker pull</code> | ||
Images are stored in <code>[[docker info]] | grep "Docker Root Dir"</code><ref>https://stackoverflow.com/questions/19234831/where-are-docker-images-stored-on-the-host-machine</ref> | Images are stored in <code>[[docker info]] | grep "Docker Root Dir"</code><ref>https://stackoverflow.com/questions/19234831/where-are-docker-images-stored-on-the-host-machine</ref> | ||
Line 36: | Line 25: | ||
− | + | == Related commands == | |
− | + | * <code>[[docker system df]]</code> | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
== See also == | == See also == | ||
+ | * [[Container Registry]] | ||
* {{docker images}} | * {{docker images}} | ||
− | * {{docker | + | * {{docker}} |
− | * | + | * <code>[[docker-compose pull]]</code> |
− | |||
[[Category:Cloud computing]] | [[Category:Cloud computing]] |
Advertising: