diff options
Diffstat (limited to 'devdocs/docker/engine%2Freference%2Fcommandline%2Fsystem_df%2Findex.html')
| -rw-r--r-- | devdocs/docker/engine%2Freference%2Fcommandline%2Fsystem_df%2Findex.html | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/devdocs/docker/engine%2Freference%2Fcommandline%2Fsystem_df%2Findex.html b/devdocs/docker/engine%2Freference%2Fcommandline%2Fsystem_df%2Findex.html new file mode 100644 index 00000000..e56ad554 --- /dev/null +++ b/devdocs/docker/engine%2Freference%2Fcommandline%2Fsystem_df%2Findex.html @@ -0,0 +1,41 @@ +<h1>docker system df</h1> <p><br></p> <p>Show docker disk usage</p> <h2 id="usage">Usage</h2> <div class="highlight"><pre class="highlight" data-language="">$ docker system df [OPTIONS] +</pre></div> <p>Refer to the <a href="#options">options section</a> for an overview of available <a href="#options"><code class="language-plaintext highlighter-rouge">OPTIONS</code></a> for this command.</p> <h2 id="description">Description</h2> <p name="extended-description">The <code class="language-plaintext highlighter-rouge">docker system df</code> command displays information regarding the amount of disk space used by the docker daemon.</p> <p>For example uses of this command, refer to the <a href="#examples">examples section</a> below.</p> <h2 id="options">Options</h2> <table> <thead> <tr> <td>Name, shorthand</td> <td>Default</td> <td>Description</td> </tr> </thead> <tbody> <tr> <td><code class="language-plaintext highlighter-rouge">--format</code></td> <td></td> <td>Pretty-print images using a Go template</td> </tr> <tr> <td> +<code class="language-plaintext highlighter-rouge">--verbose</code> , <code class="language-plaintext highlighter-rouge">-v</code> +</td> <td></td> <td>Show detailed information on space usage</td> </tr> </tbody> </table> <h2 id="examples">Examples</h2> <p>By default the command will just show a summary of the data used:</p> <div class="highlight"><pre class="highlight" data-language="">$ docker system df + +TYPE TOTAL ACTIVE SIZE RECLAIMABLE +Images 5 2 16.43 MB 11.63 MB (70%) +Containers 2 0 212 B 212 B (100%) +Local Volumes 2 1 36 B 0 B (0%) +</pre></div> <p>A more detailed view can be requested using the <code class="language-plaintext highlighter-rouge">-v, --verbose</code> flag:</p> <div class="highlight"><pre class="highlight" data-language="">$ docker system df -v + +Images space usage: + +REPOSITORY TAG IMAGE ID CREATED SIZE SHARED SIZE UNIQUE SIZE CONTAINERS +my-curl latest b2789dd875bf 6 minutes ago 11 MB 11 MB 5 B 0 +my-jq latest ae67841be6d0 6 minutes ago 9.623 MB 8.991 MB 632.1 kB 0 +<none> <none> a0971c4015c1 6 minutes ago 11 MB 11 MB 0 B 0 +alpine latest 4e38e38c8ce0 9 weeks ago 4.799 MB 0 B 4.799 MB 1 +alpine 3.3 47cf20d8c26c 9 weeks ago 4.797 MB 4.797 MB 0 B 1 + +Containers space usage: + +CONTAINER ID IMAGE COMMAND LOCAL VOLUMES SIZE CREATED STATUS NAMES +4a7f7eebae0f alpine:latest "sh" 1 0 B 16 minutes ago Exited (0) 5 minutes ago hopeful_yalow +f98f9c2aa1ea alpine:3.3 "sh" 1 212 B 16 minutes ago Exited (0) 48 seconds ago anon-vol + +Local Volumes space usage: + +NAME LINKS SIZE +07c7bdf3e34ab76d921894c2b834f073721fccfbbcba792aa7648e3a7a664c2e 2 36 B +my-named-vol 0 0 B +</pre></div> <ul> <li> +<code class="language-plaintext highlighter-rouge">SHARED SIZE</code> is the amount of space that an image shares with another one (i.e. their common data)</li> <li> +<code class="language-plaintext highlighter-rouge">UNIQUE SIZE</code> is the amount of space that is only used by a given image</li> <li> +<code class="language-plaintext highlighter-rouge">SIZE</code> is the virtual size of the image, it is the sum of <code class="language-plaintext highlighter-rouge">SHARED SIZE</code> and <code class="language-plaintext highlighter-rouge">UNIQUE SIZE</code> +</li> </ul> <blockquote> <p><strong>Note</strong></p> <p>Network information is not shown because it does not consume disk space.</p> </blockquote> <h2 id="parent-command">Parent command</h2> <table> <thead> <tr> <th style="text-align: left">Command</th> <th style="text-align: left">Description</th> </tr> </thead> <tbody> <tr> <td style="text-align: left"><a href="../system/index">docker system</a></td> <td style="text-align: left">Manage Docker</td> </tr> </tbody> </table> <h2 id="related-commands">Related commands</h2> <table> <thead> <tr> <td>Command</td> <td>Description</td> </tr> </thead> <tbody> <tr> <td><a href="index">docker system df</a></td> <td>Show docker disk usage</td> </tr> <tr> <td><a href="../system_events/index">docker system events</a></td> <td>Get real time events from the server</td> </tr> <tr> <td><a href="../system_info/index">docker system info</a></td> <td>Display system-wide information</td> </tr> <tr> <td><a href="../system_prune/index">docker system prune</a></td> <td>Remove unused data</td> </tr> </tbody> </table> <div class="_attribution"> + <p class="_attribution-p"> + © 2019 Docker, Inc.<br>Licensed under the Apache License, Version 2.0.<br>Docker and the Docker logo are trademarks or registered trademarks of Docker, Inc. in the United States and/or other countries.<br>Docker, Inc. and other parties may also have trademark rights in other terms used herein.<br> + <a href="https://docs.docker.com/engine/reference/commandline/system_df/" class="_attribution-link">https://docs.docker.com/engine/reference/commandline/system_df/</a> + </p> +</div> |
