The container name /mysql is already in use by container
在启动docker容器里的mysql出现如下错误:
[root@localhost /]# docker run --name mysql -p 3306:3306 -e MYSQL_ROOT_PASSWORD=123456 -d mysql
docker: Error response from daemon: Conflict. The container name "/mysql" is already in use by container "36d8ef44fe326e7f8b531c3dddcb612843d86a2d81bf3625966c595d3b92ad05". You have to remove (or rename) that container to be able to reuse that name.
See 'docker run --help'.
先查看所有的容器
[root@localhost /]# docker ps -a
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
af235b6366f1 mysql "docker-entrypoint..." 2 minutes ago Created mysql2
36d8ef44fe32 mysql "docker-entrypoint..." 6 days ago Exited (255) 9 minutes a
The container name /mysql is already in use by container相关推荐
- Error response from daemon: Conflict. The container name /mysql is already in use by container
执行: docker run --name mysql -p 3306:3306 -v /root/bo/data/mysql:/var/lib/mysql -e MYSQL_ROOT_PASSWOR ...
- 解决docker报错:The container name “/mysql“ is already in use by container
1. 概述 因为换了ip导致虚拟机很多无法使用,这不遇到数据库连接不上报错: Navicat连接mysql数据库报错2003 - Can't connect to MySQL server on '. ...
- 创建新Docker容器时出现“The container name /xxx is already in use by container xxxxxxxxxxx...”问题的解决办法
创建新Docker容器时出现"The container name "/xxx" is already in use by container xxxxxxxxxxx-& ...
- 创建新Docker容器时出现“The container name “/xxx“ is already in use by container xxxxxxxxxxx...”问题的解决办法
创建新Docker容器时出现"The container name "/xxx" is already in use by container xxxxxxxxxxx-& ...
- docker出现问题:The container name “/XXX“ is already in use by container 解决方案
在虚拟机centos7系统中docker在创建一个实例的出现问题:The container name "/XXX" is already in use by container的 ...
- docker安装redis无法启动: The container name “/ly-redis“ is already in use by container
报错信息:response from daemon: Conflict. The container name "/ly-redis" is already in use by c ...
- Error response from daemon: Conflict. The container name “/redis“ is already in use by container “93
前言 最近使用docker,然后启动时报错: 错误信息 Error response from daemon: Conflict. The container name "/redis&qu ...
- The container name XXX is already in use by container
错误信息 fatal: [192.168.1.232]: FAILED! => {"changed": true, "cmd": "docker ...
- docker: Error response from daemon: Conflict. The container name xxx is already in use by container
docker: Error response from daemon: Conflict. The container name xxx is already in use by container ...
最新文章
- UML基本架构建模--获取类
- pytorch view(): argument 'size' (position 1) must be tuple of ints, not Tensor
- PAT甲级1055 The World‘s Richest:[C++题解]k路归并
- sim卡无线上网公用服务器,有人推出内置SIM卡GPRS模块!GM3S开启无线数传模块新时代!...
- graph driver-device mapper-04libdevmapper基本操作
- “send“ and “transfer“ are only available for objects of type “address payable“, not “address
- 品质LOGO模板素材|想知道平面设计师如何设计徽标的秘密吗?
- mysql 主从关系切换
- 【MySQL】MySQL的常用升级方法
- linux hasp的加密狗驱动程序,hasp加密狗驱动下载-hasp加密狗驱动(圣天诺加密狗驱动) win7/8/10 官方通用版 - 河东下载站...
- java仿qq登陆界面
- 泛泰A870 Recovery KitKat 合集
- 【verilog】按键消抖(FPGA,低电平有效按键,状态机法)
- 地狱已满服务器搭建教程-1 服务器安装篇 NMRIH Dedicate Server
- 计算机查看流量记录,教你用路由器查看电脑数据流量使用情况的方法
- Pytorch下transforms.ToTensor(),transforms.Normalize()详解,及代码实现和复原
- 学习产品基础知识学习沟通-每日打卡
- 电磁兼容(EMC)测试
- Linux ss命令使用
- 计算机提示应用程序无法启动,提示“应用程序无法正常启动(0xc000007b)”怎么办?原因和解决方法...
热门文章
- 华为中标广东电信IPTV项目
- xilinxFPGA-VGA时序+代码实现详解
- 交流耦合仪表放大器(AC-Coupled Instrumentation Amplifier)
- 计组-堆栈寻址-堆栈指针
- MIT Technology Review 2020年“十大突破性技术”解读 【中国科学基金】2020年第3期发布...
- Jieba分词词性标注以及词性说明
- 金蝉机器人_《金蝉脱壳2》残暴!机器人身份姓名首次曝光监狱更具压迫感
- Android中的EditText属性说明
- 前台、中台、后台,业务中台、技术中台、数据中台、算法中台分别是什么?
- 3---kaldi 自己录音,做自己版本的yesNo