Open OkenKhuman opened 3 years ago
@OkenKhuman
Your docker-compose.yml
seems having incorrect syntax.
Please refer the driver_opts
section in docker-compose file reference.
(link: https://docs.docker.com/compose/compose-file/#driver_opts)
I tried docker-compose provided here, adding the "driver_opts:" directive but having this issue:
Creating ehough_nfs_1 ... done
Creating ehough_proxy_1 ... error
ERROR: for ehough_proxy_1 Cannot create container for service proxy: error resolving passed in network volume address: lookup nfs on 127.0.0.53:53: read udp 127.0.0.1:38094->127.0.0.53:53: i/o timeout
ERROR: for proxy Cannot create container for service proxy: error resolving passed in network volume address: lookup nfs on 127.0.0.53:53: read udp 127.0.0.1:38094->127.0.0.53:53: i/o timeout
ERROR: Encountered errors while bringing up the project.
@ehough any idea about this error?
I'm trying to mount a network shared directory for shareing html files and certificates. I'm using the below setup
but when I try to run using
docker-compose up
it gave me error aswhat can be the volume setup to mount the nfs shared?
please provide an example to mount the volume in compose setup