Coder Social home page Coder Social logo

docker's Introduction

Docker Container

Learn more about Docker ...

check disk usage of the Docker storage

By command $ docker system df which will display the disk space usage fro Docker images, containers, volumes, and cache:

fank@ednpas7404:~/programming/docker.dir$
docker system df
TYPE            TOTAL     ACTIVE    SIZE      RECLAIMABLE
Images          18        0         4.044GB   4.044GB (100%)
Containers      0         0         0B        0B
Local Volumes   18        0         244.7MB   244.7MB (100%)
Build Cache     113       0         3.759GB   3.759GB
fank@ednpas7404:~/programming/docker.dir$

Clean disk usage

1. Removing build cache

Using command $ docker buildx prune, as below:

$ docker buildx prune
WARNING! This will remove all dangling build cache. Are you sure you want to continue? [y/N] y
ID                                              RECLAIMABLE     SIZE            LAST ACCESSED
mco9e4fxsknmpb86c7ctcd55f*                      true            421.8MB         10 months ago
2xemvks2ei504xignjui8rt3f*                      true    1.059kB         10 months ago
bgm7inyr67yc7pd5c3c4bdqy5*                      true    753B            10 months ago
lo67q2cjysbnecw9bhznsp5gd                       true    162B            56 minutes ago
yhjwpjuisfuu4kkw7pgpwk3qk*                      true    0B              29 minutes ago
844un7discyimbd0bk2l4hph1                       true    156B            2 hours ago
hi8ht5rp2je2mmp623dfdlq1a                       true    0B              10 months ago
q8xgxvl495mu7gne08nio8ih6                       true    351.4MB         45 minutes ago
oae152d08unhdsirw0r61x3nn*                      true    2.522MB         29 minutes ago
rmxco7one1r3fqwkfjblvufpr*                      true    1.357kB         29 minutes ago
j2a1temh94dyw1ox22hkwjvj8                       true    21.35MB         51 minutes ago
6oe7d58g6je4jyp3b5muixxcw*                      true    304.8MB         10 months ago
phbc9xrdrwlgkasq23rc6vc4x                       true    162B            About an hour ago
oqhta58sk45b5wwj3qnn1mfjq                       true    161B            49 minutes ago
hmorxyh1p8whl11nld0mfmhty                       true    407.6MB         34 minutes ago
gwj7x9p0211644ini5jrn6x1o                       true    162B            About an hour ago
uzwpzt8rfv96qqh32hu8dj7zs*                      true    0B              10 months ago
visar5b7abxf6mp2z7zvi963k                       true    21.35MB         54 minutes ago
735ne9t3x6d1u9tjhe3y0ogry                       true    404.3MB         40 minutes ago
j0fc68kqxm1uw3z50acanqdjm                       true    163B            51 minutes ago
39xpe67x1jtcem359vn6lrt09                       true    160B            40 minutes ago
ol0xvqgfc4gqp1f1k0qrkkcv2                       true    164B            45 minutes ago
ot5hmsuvi2h8c4bkeu2v6qefv                       true    0B              Less than a second ago
z4pi98jrxogoo2rfga5o5tjnj                       true    152B            34 minutes ago
p59jiqgfj97cdut6o6utkkefy                       true    0B              About an hour ago
i645fydy3ea0buf4abi4g048g                       true    112B            Less than a second ago
qwrve8ze1r38bk68zycp67sy7                       true    163B            54 minutes ago
u0t9cyf5lg76mgtmismdyq5y9                       true    183B            Less than a second ago
z6hhpkl5gwydoer77e74idmu9                       true    0B              54 minutes ago
orcl10pdjpbwdxwmv55txhymy                       true    19.41MB         Less than a second ago
2ex4jb6rqrhn54rs2mozkhtze                       true    225.5MB         Less than a second ago
hx5zgqmkmwwxdmgx8ta21d6i9                       true    1.505kB         About an hour ago
mc6os5695b0lao34xi1abdtpy                       true    570B            About an hour ago
miztwk55e1l2inwixtjcdx1fy                       true    1.505kB         56 minutes ago
rbfdr3foxv6djqf5y54x8e14k                       true    570B            Less than a second ago
yyto9mtqz1tk6d7jrvrsx2j8d                       true    0B              About an hour ago
vdy0fg50kfyxts104c51vlu1o                       true    570B            56 minutes ago
k3k3c97b54ppvb6lrkevy2vm7                       true    0B              56 minutes ago
vc3mcf0f87v9sn8qc0t2s3st2                       true    191.6MB         About an hour ago
4myo4p073rb6li9iyy23zr2nq                       true    191.6MB         56 minutes ago
mapobzdy1ca0x0u4dpalz3mod                       true    2.519MB         About an hour ago
q72q57qfxmrw2u39ydix7msnp                       true    2.519MB         56 minutes ago
gzy9ofo1c3dbnhp0fltnsk55o                       true    0B              About an hour ago
xjp3wt3ebv4nd3w8z0vzf862u                       true    0B              56 minutes ago
epwsahxhxoycwjfv28ixe0f53                       true    595.2MB         About an hour ago
l1mapndfclv9k3i0ybihmu9dn                       true    595.2MB         56 minutes ago
Total:  3.759GB
fank@ednpas7404:~/programming/docker.dir$

docker's People

Contributors

yaohuifan avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.