启动模块服务时报错:docker: Error response from daemon: Conflict.
报错信息:
docker: Error response from daemon: Conflict. The container name "/tomcat" is already in use by container "某某某ID". You have to remove (or rename) that container to be able to reuse that name.
报错详情:
docker: Error response from daemon: Conflict.
Docker:来自守护进程的错误响应:冲突。
The container name "/tomcat" is already in use by container "1a2b3c4d5e6f......".
容器名称“/Tomcat”已由容器"1a2b3c4d5e6f......".使用。
You have to remove (or rename) that container to be able to reuse that name.
您必须删除(或重命名)该容器才能重用该名称。
解决办法:
docker ps -l
docker rm 镜像id