我用的是boot2mac和码头写作。我想要能够配置这个通过NFS挂载我的卷。这是我的配置:
web:
image: nginx
links:
- db
ports:
- "80:80"
volumes:
- .:/usr/share/nginx/html
db:
image: postgres发布于 2017-09-11 07:52:31
要在撰写文件中定义nfs卷,请执行此线程中的描述
volumes:
name:
driver: local
driver_opts:
type: nfs
o: addr=192.168.1.1,rw
device: ":/path/to/dir"这是支持的,因为至少复合文件版本2。
https://stackoverflow.com/questions/30491449
复制相似问题