如何解决类型“绑定”的无效安装配置:绑定源路径不存在:
我是Docker的新手,正在尝试使用以下命令进行绑定安装:
docker service create --mount type=bind,src=/mnt/c/Users/Elev/Desktop/iris,dst=/mnt/c/Users/Elev/Desktop/iris --name myservice1 myservice
并且我收到以下消息:
image myservice:latest could not be accessed on a registry to record
its digest. Each node will access image:latest independently,possibly leading to different nodes running different
versions of the image.
e32lbdbvn3meq5i4cpgsnes4m
overall progress: 0 out of 1 tasks
1/1: invalid mount config for type "bind": bind source path does not exist: /mn…
我能够CD到'/ mnt / c / Users / Elev / Desktop / iris'目录,并且我确定它存在。那么,为什么我会收到此错误?如何解决?
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。