Volumes: nfs_data: nfsmount: driver: local driver_opts: type: nfs o: addr=,rw,nolock,hard,nointr,nfsvers=3 device: ":/System/Volumes/Data$/code" Then at the bottom in the volume declaration I have this In my docker-compose.yml I have the following declared for a volume in the web container and the php container links to *nfsvolumes I followed the following (along with the updates for Catalina) It seems to work fine on my mac but on others I get the error above. errorERROR: for nfstest_php_1 Cannot create container for service php: failed to copy file info for /var/lib/docker/volumes/nfstest_nfsmount/_data: failed to chown /var/lib/docker/volumes/nfstest_nfsmount/_data: lchown /var/lib/docker/volumes/nfstest_nfsmount/_data: operation not permittedĮRROR: for php Cannot create container for service php: failed to copy file info for /var/lib/docker/volumes/nfstest_nfsmount/_data: failed to chown /var/lib/docker/volumes/nfstest_nfsmount/_data: lchown /var/lib/docker/volumes/nfstest_nfsmount/_data: operation not permittedERROR: Encountered errors while bringing up the project.exit 1 My macbook pro allows me to do this fine but others I am testing on are getting the following error when I try a docker-compose up -dĬreating nfstest_php_1. I am having an issue trying to mount a directory containing a Magento application within my php container using NFS but only on certain Macs.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |