删除容器需要先停止后remove:
成都创新互联长期为成百上千客户提供的网站建设服务,团队从业经验10年,关注不同地域、不同群体,并针对不同对象提供差异化的产品和服务;打造开放共赢平台,与合作伙伴共同营造健康的互联网生态环境。为北林企业提供专业的做网站、成都网站建设,北林网站改版等技术服务。拥有十余年丰富建站经验和众多成功案例,为您定制开发。
# 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
.........................................
.........................................
.........................................
删除镜像:
# 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
......................................... ......................................... ......................................... ......................................... ......................................... .....................
......................................... ......................................... ......................................... ......................................... ......................................... .....................
网页题目:docker删除所有容器和镜像命令
文章位置:https://www.cdcxhl.com/article18/pgodgp.html
成都网站建设公司_创新互联,为您提供微信小程序、网站制作、网站导航、商城网站、移动网站建设、网站内链
声明:本网站发布的内容(图片、视频和文字)以用户投稿、用户转载内容为主,如果涉及侵权请尽快告知,我们将会在第一时间删除。文章观点不代表本网站立场,如需处理请联系客服。电话:028-86922220;邮箱:631063699@qq.com。内容未经允许不得转载,或转载时需注明来源: 创新互联