欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页

docker: Error response from daemon

程序员文章站 2024-03-12 10:26:14
...

docker: Error response from daemon: Conflict. The container name “/HAProxy-K8S” is already in use by container “a1c9a9e3035d85f2a26a9efe00faa13dd6a5b2d558a2bbc9ca0af3d998cbbdd5”. You have to remove (or rename) that container to be able to reuse that name.
See ‘docker run --help’.

这个报错主要就是进程冲突了,已经有一个名字叫HAProxy-K8S的进程在运行,如果想要运行,可以把正在运行的进程关闭。

docker ps -a
docker rm a1c9a9e3035d

a1c9a9e3035d是进程ID

相关标签: 异常问题 k8s