
docker
weixin_43414429
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
多个容器内数据库的同步
mysql02的ip地址查询sudo docker inspect mysql02结果如下mysql -u root -p123456 -h192.168.167.130 -p3307端口号:3307密码:123456虚拟机地址:192.168.167.130mysql中运行以下代码grant replication slave,file,replication clien...原创 2019-12-16 15:12:20 · 473 阅读 · 0 评论 -
navicat连接虚拟机中的docker容器中的mysql数据库出错:1130-host is not allowed to connect
navicat连接虚拟机中的docker容器中的mysql数据库出错:1130-host is not allowed to connect可能是不允许远程访问,需进入mysql中修改用户对应的host,从“localhost”修改成“%”。过程如下:进入docker容器修改host退出后重启mysql容器即可。...原创 2019-12-12 10:04:07 · 1470 阅读 · 0 评论 -
在执行Dockerfile时出现Get https://registry-1.docker.io/v2/错误的解决方案
1.在IDEA中建立好了SpringBoot项目,并配置好了docker容器,然后在执行Dockerfile时出现以下问题Get https://registry-1.docker.io/v2/: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting head...原创 2019-07-23 16:39:40 · 41442 阅读 · 12 评论 -
出错: Unable to find image 'hello-world:latest' locally docker: Error response from daemon
用ubuntu配置好docker且下载好后,运行hello-world后出错运行: sudo docker run hello-world出错:Unable to find image ‘hello-world:latest’ locallydocker: Error response from daemon: Get https://registry-1.docker.io/v2/: n...转载 2019-07-18 20:48:22 · 13292 阅读 · 0 评论