![](https://img-blog.csdnimg.cn/20201014180756926.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
docker错误集
我想喝橙汁儿~
努力努力再努力!!!
展开
-
ERROR: In file ‘./docker-compose.yml‘, service ‘networks‘ must be a mapping not an array.
报错信息:ERROR: In file ‘./docker-compose.yml’, service ‘networks’ must be a mapping not an array.ERROR: In file ‘./docker-compose.yml’, service ‘ports’ must be a mapping not an array.解决方法:这类错误 一般是docker-compose.yml文件中的缩进格式不正确(个人建议缩进长度不要超过四个空格)...原创 2020-11-12 21:49:29 · 4792 阅读 · 0 评论 -
Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running? 解决
报错信息:Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?解决方法:systemctl daemon-reloadsystemctl restart docker.service此种提示只是守护进程没有开启,重新加载一下守护进程,再启动服务就OK了...原创 2020-11-10 00:04:59 · 113 阅读 · 0 评论