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

Logo

K8S/Kubernetes社区为您提供最前沿的新闻资讯和知识内容

更多推荐