docker 清除不用的容器数据

1. 提示错误

--gpus all

docker: Error response from daemon: Conflict. The container name "abc" is already in use by container "89b96853dc4d973ec932123550c17bcb77954531d0a596a3abc92dab0c621cee". You have to remove (or rename) that container to be able to reuse that name.

See 'docker run --help'.

2. 解决方法

$ docker system prune

3. 命令帮助

Management Commands:

builder Manage builds

buildx* Docker Buildx (Docker Inc., v0.11.2)

compose* Docker Compose (Docker Inc., v2.21.0)

container Manage containers

context Manage contexts

image Manage images

manifest Manage Docker image manifests and manifest lists

network Manage networks

plugin Manage plugins

scan* Docker Scan (Docker Inc., v0.23.0)

system Manage Docker

trust Manage trust on Docker images

volume Manage volumes

Usage: docker system COMMAND

Manage Docker

Commands:

df Show docker disk usage

events Get real time events from the server

info Display system-wide information

prune Remove unused data

相关推荐
稚辉君.MCA_P8_Java2 小时前
Gemini永久会员 containerd部署java项目 kubernetes集群
后端·spring cloud·云原生·容器·kubernetes
一夜空中最亮的星一10 小时前
【Linux】ubuntu24.04 安装docker
linux·docker·eureka
炸裂狸花猫10 小时前
开源域名证书工具 - cert-manager
云原生·容器·kubernetes·开源·cert-manager
会飞的小蛮猪11 小时前
Ubuntu24.04基于Docker部署K8s(使用私服部署)
经验分享·docker·云原生·容器·kubernetes
weixin_4365250714 小时前
使用 idea 命令行构建 Docker 镜像并部署到云服务器
linux·docker·github
h***015416 小时前
Docker启动安装nacos(详情讲解,全网最细)
运维·docker·容器
人工智能训练17 小时前
windows系统中的docker,xinference直接运行在容器目录和持载在宿主机目录中的区别
linux·服务器·人工智能·windows·ubuntu·docker·容器
阿拉斯攀登17 小时前
docker介绍
服务器·docker
谷隐凡二17 小时前
docker的简单介绍
docker·容器·eureka
wljt17 小时前
Docker常用命令
运维·docker·容器