Error response from daemon: Container XXX is restarting, wait until the container is running
问题描述
docker restart mysql后,执行docker exec -it mysql bash 出现此问题
问题排查
查看docker日志
docker logs --tail 50 --follow --timestamps mysql
Error如下
解决方式
此问题是由于my.cnf文件中secure-file-priv= NULL引起,将secure-file-priv值修改为secure-file-priv="" 或secure-file-priv= /tmp/,问题解决
对比测试
此问题出现在轻量应用服务器中,云服务器目前没有发现存在此问题
Mysql secure-file-priv参数说明
描述:
secure-file-priv参数是用来限制LOAD DATA, SELECT … OUTFILE, and LOAD_FILE()传到哪个指定目录的
secure_file_priv的值说明
- secure_file_priv的值为null ,表示限制mysqld 不允许导入|导出
- 当secure_file_priv的值为/tmp/ ,表示限制mysqld 的导入|导出只能发生在/tmp/目录下
- 当secure_file_priv的值没有具体值时,表示不对mysqld 的导入|导出做限制
Error response from daemon: Container XXX is restarting, wait until the container is running相关推荐
- docker进入容器时报错 Error response from daemon: Container xxx is restarting, wait until the container is
使用docker run命令运行容器,再进入容器时报错 运行容器命令 docker run --restart=always --name mongo -v /data/mongo:/data/db ...
- 解决:Error response from daemon: Cannot restart container xxx: driver failed programming external
前些天发现了一个巨牛的人工智能学习网站,通俗易懂,风趣幽默,忍不住分享一下给大家.点击跳转到教程. 1. 我的情况:个人站点访问不了,重启了阿里云ECS服务器后,发现服务器 80端口不通,于是重启了 ...
- 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 ...
- Error response from daemon: Container xxx is not running的解决方法
进入容器并且想启动时,提示还没有启动该id [root@chongba-docker ~]# docker exec -it chongba_mysql bash Error response fro ...
- docker容器启动失败:Error response from daemon: Container xxx is not running
启动容器: Error response from daemon: Container 0a1dfb5472726f79056202e9d140b6c28189d326fb595a539f7cc151 ...
- docker 错误:Error response from daemon: cannot stop container: connect: connection refused: unknown...
docker 错误:Error response from daemon: cannot stop container: 795e4102b2de: Cannot kill container 795 ...
- 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容器时出现 docker: Error response from daemon, The container name is already in use by container
问题: 服务器关机后,重新启动,然后启动docker container的时候,出现报错"docker: Error response from daemon, The container ...
- 【解决方案】Error response from daemon: Conflict. The container name /mongo is already in use by contain
一.错误信息 /usr/bin/docker-current: Error response from daemon: Conflict. The container name "/mong ...
- 【已解决】ocker: Error response from daemon: Conflict. The container name “/nginx“ is alrea.....
Docker Run 报错 docker: Error response from daemon: Conflict. The container name "/nginx" is ...
最新文章
- 转载-Android数据库高手秘籍(一)——SQLite命令
- java基础知识点_「Java面试题/知识点精华集」20000+字的Java基础知识篇(2020最新版) !
- Linux core dump的详细介绍及使用
- nonlocal python3_Python3中 对local和nonlocal 关键字的认识
- html怎么循环输出_for 循环疑难点
- 谷歌浏览器flash崩溃怎么办 Google Chrome flash崩溃解决方法
- Excel 【小型成绩分析系统初稿】(功能及适应性有待完善)
- Web前后端笔记-通过对称加密算法和信息摘要算法防止数据重放
- BZOJ3240 NOI2013矩阵游戏(数论)
- 逆袭进大厂:程序员究竟该如何学好前端?
- matlab_exercise(2)----输入一个三位数,依次输出其个位数字,十位数字,百位数字...
- Linux下安装常用软件
- Linux下怎么mount下载宝硬盘为本地目录
- 机器人 python 极客入门_机器人Python极客编程入门与实战
- 服饰搭配:色彩与材质
- office 2016安装包下载
- 小米2019秋招笔试真题--厨艺大赛奖金
- MyIE4.0又回来了,GreenBrowser后续开发,重新开源,大赞
- 图像放缩以及亚像素显示
- 华为云CDN如何加速ECS资源?