重新创建新容器出问题

重新创建新容器出问题
root@bld010:/home/wangkun/test# docker run -d --name cpmcjira --restart always -p 18080:8080 -e TZ=“Asia/Shanghai” -m 4096M -v /data3/atlassian/jiradata:/var/atlassian/jira registry.cn-hangzhou.aliyuncs.com/yangmingquan/jira:8.1.0
docker: Error response from daemon: Conflict. The container name “/cpmcjira” is already in use by container “5fed752427a0155f19802bbf2e25a374af2b37c6e66e3532473c7ede2470e028”. You have to remove (or rename) that container to be able to reuse that name.
See ‘docker run --help’.

1、查看所有容器
docker ps -a
2、删除容器
docker rm 容器ID

你可能感兴趣的:(docker,运维,容器)