Docker-DCO-1.1-Signed-off-by: Sven Dowideit <SvenDowideit@fosiki.com> (github: SvenDowideit)
| ... | ... |
@@ -1136,7 +1136,7 @@ func (cli *DockerCli) CmdPull(args ...string) error {
|
| 1136 | 1136 |
func (cli *DockerCli) CmdImages(args ...string) error {
|
| 1137 | 1137 |
cmd := cli.Subcmd("images", "[OPTIONS] [NAME]", "List images")
|
| 1138 | 1138 |
quiet := cmd.Bool([]string{"q", "-quiet"}, false, "Only show numeric IDs")
|
| 1139 |
- all := cmd.Bool([]string{"a", "-all"}, false, "Show all images (by default filter out the intermediate images used to build)")
|
|
| 1139 |
+ all := cmd.Bool([]string{"a", "-all"}, false, "Show all images (by default filter out the intermediate image layers)")
|
|
| 1140 | 1140 |
noTrunc := cmd.Bool([]string{"#notrunc", "-no-trunc"}, false, "Don't truncate output")
|
| 1141 | 1141 |
// FIXME: --viz and --tree are deprecated. Remove them in a future version. |
| 1142 | 1142 |
flViz := cmd.Bool([]string{"#v", "#viz", "#-viz"}, false, "Output graph in graphviz format")
|
| ... | ... |
@@ -107,7 +107,7 @@ complete -c docker -A -f -n '__fish_seen_subcommand_from history' -a '(__fish_pr |
| 107 | 107 |
|
| 108 | 108 |
# images |
| 109 | 109 |
complete -c docker -f -n '__fish_docker_no_subcommand' -a images -d 'List images' |
| 110 |
-complete -c docker -A -f -n '__fish_seen_subcommand_from images' -s a -l all -d 'Show all images (by default filter out the intermediate images used to build)' |
|
| 110 |
+complete -c docker -A -f -n '__fish_seen_subcommand_from images' -s a -l all -d 'Show all images (by default filter out the intermediate image layers)' |
|
| 111 | 111 |
complete -c docker -A -f -n '__fish_seen_subcommand_from images' -l no-trunc -d "Don't truncate output" |
| 112 | 112 |
complete -c docker -A -f -n '__fish_seen_subcommand_from images' -s q -l quiet -d 'Only show numeric IDs' |
| 113 | 113 |
complete -c docker -A -f -n '__fish_seen_subcommand_from images' -s t -l tree -d 'Output graph in tree format' |
| ... | ... |
@@ -597,10 +597,17 @@ To see how the ``docker:latest`` image was built: |
| 597 | 597 |
|
| 598 | 598 |
List images |
| 599 | 599 |
|
| 600 |
- -a, --all=false: Show all images (by default filter out the intermediate images used to build) |
|
| 600 |
+ -a, --all=false: Show all images (by default filter out the intermediate image layers) |
|
| 601 | 601 |
--no-trunc=false: Don't truncate output |
| 602 | 602 |
-q, --quiet=false: Only show numeric IDs |
| 603 | 603 |
|
| 604 |
+The default ``docker images`` will show all top level images, their repository |
|
| 605 |
+and tags, and their virtual size. |
|
| 606 |
+ |
|
| 607 |
+Docker images have intermediate layers that increase reuseability, decrease |
|
| 608 |
+disk usage, and speed up ``docker build`` by allowing each step to be cached. |
|
| 609 |
+These intermediate layers are not shown by default. |
|
| 610 |
+ |
|
| 604 | 611 |
Listing the most recently created images |
| 605 | 612 |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| 606 | 613 |
|