![](https://img-blog.csdnimg.cn/20210511111031542.jpeg?x-oss-process=image/resize,m_fixed,h_224,w_224)
Docker
文章平均质量分 50
Docker使用常见问题及其解决办法
无瑕剑客
学技术
展开
-
Docker:使用dockerfile生成镜像错误:The system cannot find the path specified.
Docker生成错误: failed to read dockerfile: error from sender: walk Dockerfile: The system cannot find the path specified.生成命令如下PS D:\> docker build -t web/webapp ./Dockerfile结果:[+] Building 0.0s (1/2) => ERROR [internal] load build definition from原创 2021-05-11 11:05:55 · 7929 阅读 · 1 评论 -
Docker在WSL,windows下出现:Cannot connect to the Docker daemon at unix:///var/run/docker.sock问题
在wsl下执行Docker命令出现问题:Cannot connect to the Docker daemon at unix:///var/run/docker.sockIs the docker daemon running?出现这种问题的原因:你的windows docker没有正确配置,wsl下的docker与你的windows共用一个server引擎。解决方法如下步骤1.打开tcp端口允许wsl连接右下角任务栏右键单击docker打开设置点击这一栏,把他选上回到W原创 2021-05-08 15:57:58 · 5833 阅读 · 4 评论 -
Docker: 错误invalid reference format
windows cmd执行下列命令导入镜像时出现错误:invalid reference format其中test_ubuntu.tar为要导入的镜像,test为命名空间,ubuntu为镜像名,冒号后面的v0.1时tag命令docker import test_ubuntu.tar - test/ubuntu:v0.1错误:invalid reference format解决办法把导入命令中间的横线去掉就可以了命令docker import test_ubuntu.tar test/ubunt原创 2021-05-07 18:00:11 · 4978 阅读 · 1 评论