• Re: clean docker library dir

    From Ezri Zhu@21:1/5 to All on Sat Aug 3 02:40:01 2024
    --Apple-Mail-6477EF45-F757-4A2F-931A-C935FF924327
    Content-Type: text/plain;
    charset=utf-8
    Content-Transfer-Encoding: quoted-printable

    See: https://docs.docker.com/reference/cli/docker/system/prune/
    You may also want to do `docker system prune --all` to also remove all **stopped** containers.
    Please also do `docker ps -a` to show all running *AND* stopped containers to make sure you know what you are deleting.

    Good luck,


    Ezri

    On Aug 2, 2024, at 20:13, Corey H <[email protected]> wrote:

    Hello

    My VPS has docker installed, which consumes a lot of disk.

    /var/lib/docker# du -sh .
    71.0G .

    I tried 'docker system prune' which seems not to delete the libraries it intalled.

    Do you know how to clean the objects in '/var/lib/docker'?

    Thanks.


    --Apple-Mail-6477EF45-F757-4A2F-931A-C935FF924327
    Content-Type: text/html;
    charset=utf-8
    Content-Transfer-Encoding: quoted-printable

    <html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto">See:&nbsp;<a href="https://docs.docker.com/reference/cli/docker/system/prune/">https://docs.docker.com/reference/cli/docker/system/prune/</a><div>You
    may also want to do `docker system prune --all` to also remove all **stopped** containers.</div><div>Please also do `docker ps -a` to show all running *AND* stopped containers to make sure you know what you are deleting.</div><div><br></div><div>Good
    luck,</div><div><br id="lineBreakAtBeginningOfSignature"><div dir="ltr">—&nbsp;<div>Ezri</div></div><div dir="ltr"><br><blockquote type="cite">On Aug 2, 2024, at 20:13, Corey H &lt;[email protected]&gt; wrote:<br><br></blockquote></div><blockquote type="
    cite"><div dir="ltr"><span>Hello</span><br><span></span><br><span>My VPS has docker installed, which consumes a lot of disk.</span><br><span></span><br><span>/var/lib/docker# du -sh .</span><br><span>71.0G &nbsp; &nbsp;.</span><br><span></span><br><
    span>I tried 'docker system prune' which seems not to delete the libraries it intalled.</span><br><span></span><br><span>Do you know how to clean the objects in '/var/lib/docker'?</span><br><span></span><br><span>Thanks.</span><br><span></span><br></div><
    /blockquote></div></body></html> --Apple-Mail-6477EF45-F757-4A2F-931A-C935FF924327--

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Corey H@21:1/5 to All on Sat Aug 3 02:20:01 2024
    Hello

    My VPS has docker installed, which consumes a lot of disk.

    /var/lib/docker# du -sh .
    71.0G .

    I tried 'docker system prune' which seems not to delete the libraries it intalled.

    Do you know how to clean the objects in '/var/lib/docker'?

    Thanks.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)