Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Docker delete all containers and mirrors command

2025-04-07 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

To delete a container, you need to stop before remove:

# docker stop $(docker ps-a-Q)

A679aa25d419

D6f061600581

A1fc78352ff1

Fdb3718b8ad1

3488a417dcf0

Ada453d6f211

842701cc68df

671452b1a499

..

..

..

# docker rm $(docker ps-a-Q)

A679aa25d419

D6f061600581

A1fc78352ff1

Fdb3718b8ad1

3488a417dcf0

Ada453d6f211

842701cc68df

671452b1a499

..

..

..

Delete the mirror:

# docker rmi $(docker images-Q)

Untagged: docker.io/pingcap/tidb:latest

Untagged: docker.io/pingcap/tidb@sha256:ac88129dd374cde1c24257fe77c58b0d1bb24bdd54a537c92366921ae0d6cbe0

Deleted: sha256:a7675eab8c2f45fe907aaf396371eb94d6ab7720666aa45c1d0d9999906e8e6c

Deleted: sha256:e18236727dad9eb87671dab4d976848fa39839375210d31e89ce74216a6420c3

Untagged: docker.io/pingcap/pd:latest

Untagged: docker.io/pingcap/pd@sha256:767af19c79f3d1db450a2c6a062f0d1ea8dfc3276bb06efdb569c8d0df31b23b

Deleted: sha256:1028ef8a9e6953fb4ad5b3bbc0fed1d41bc439bce7e06ef5d3bdcd0a04e9b370

Deleted: sha256:d90e59bf820b49f5d9f3f6c3c84daff3ea940bd3017a6579493d498954025323

Deleted: sha256:a49f7990bbb7c9dcfabae2c4765bba51b4032f41916070496bf847bee5ab3fd4

.. .. .. .. .. .

.. .. .. .. .. .

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report