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:
{{lc}}
+
[[Docker images management]]
  
[[List container images]]:
+
<code>docker images<code> or <code>docker images REPO_NAME</code> List images
* <code>docker images</code>  
 
* <code>docker images REPO_NAME</code>  
 
* <code>[[docker image ls]]</code>
 
* <code>[[docker image list]]</code>
 
* <code>[[docker images --digests]]</code>
 
* <code>[[docker images --filter]]</code>
 
 
https://docs.docker.com/engine/reference/commandline/images/
 
https://docs.docker.com/engine/reference/commandline/images/
  
Do not use <code>[[docker images ls]]</code> instead of <code>[[docker image ls]]</code> as you will not list any image as you will be listing images from a non existing repository: <code>ls</code>
+
<pre>
 +
$ docker images
  
== Examples ==
+
REPOSITORY                TAG                IMAGE ID            CREATED            SIZE
$ docker images
+
<none>                    <none>              77af4d6b9913        19 hours ago        1.089 GB
+
committ                  latest              b6fa739cedf5        19 hours ago        1.089 GB
REPOSITORY                [[TAG]]                 [[IMAGE ID]]           CREATED            SIZE
+
<none>                    <none>              78a85c484f71        19 hours ago        1.089 GB
<none>                    <none>              77af4d6b9913        19 hours ago        1.089 GB
+
docker                    latest              30557a29d5ab        20 hours ago        1.089 GB
committ                  latest              b6fa739cedf5        19 hours ago        1.089 GB  
+
<none>                    <none>              5ed6274db6ce        24 hours ago        1.089 GB
<none>                    <none>              78a85c484f71        19 hours ago        1.089 GB
+
postgres                  9                  746b819f315e        4 days ago          213.4 MB
docker                    latest              30557a29d5ab        20 hours ago        1.089 GB
+
postgres                  9.3                746b819f315e        4 days ago          213.4 MB
<none>                    <none>              5ed6274db6ce        24 hours ago        1.089 GB
+
postgres                  9.3.5              746b819f315e        4 days ago          213.4 MB
postgres                  9                  746b819f315e        4 days ago          213.4 MB
+
postgres                  latest              746b819f315e        4 days ago          213.4 MB
postgres                  9.3                746b819f315e        4 days ago          213.4 MB
+
</pre>
postgres                  9.3.5              746b819f315e        4 days ago          213.4 MB
 
postgres                  latest              746b819f315e        4 days ago          213.4 MB
 
  
 
Notes:
 
Notes:
Line 41: Line 34:
  
 
== Related commands ==
 
== Related commands ==
* <code>[[docker system df]]</code> or <code>[[docker system df --verbose]]</code>
+
* <code>[[docker system df]]</code>
 
* <code>[[docker-compose pull]]</code>
 
* <code>[[docker-compose pull]]</code>
* <code>[[docker-compose images]]</code>
 
* <code>[[docker image ls]]</code>
 
 
* <code>[[docker image prune]]</code>
 
* <code>[[docker image prune]]</code>
* <code>[[docker commit]]</code>
 
* <code>[[docker image]]</code>
 
  
 
== See also ==
 
== See also ==
 +
* [[Container Registry]]
 
* {{docker images}}
 
* {{docker images}}
* {{docker image}}
+
* {{docker}}
* {{docker images management}}
 
  
  

Please note that all contributions to wikieduonline may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see Wikieduonline:Copyrights for details). Do not submit copyrighted work without permission!

Cancel Editing help (opens in new window)

Advertising: