Docker
卑微小邝
奋力加载中
展开
-
在smarTTY命令行界面进入Docker容器中的mysql
1.容器中登录mysql,进入mysql>命令行 docker exec -it 容器名bash mysql -u root -p 输入密码 2.进行远程授权连接(mysql 8.0版本跟以前的不同) mysql> GRANT ALL PRIVILEGES ON *.* TO 'root'@'%'WITH GRA...原创 2020-03-23 18:11:47 · 294 阅读 · 0 评论 -
Docker服务启动报错:Job for docker.service failed because the control process exited with error
报错信息: Job for docker.service failed because the control process exited with error code. See "systemctl status docker.service" and "journalctl -xe" for details.解决办法:CentOS7系统的内核与Docker版本不兼容,更新CentOS7系统...原创 2020-03-20 22:49:06 · 389 阅读 · 0 评论