Closed kisdaniel closed 6 years ago
I would like to mount only one file like this:
docker-compose.yml example:
version: '3' services: nginx: image: nginx volumes: - nginx-configfile:/etc/nginx/nginx.conf volumes: nginx-configfile: driver: local-persist driver_opts: mountpoint: /var/lib/docker-persistent-volume/nginx/config/nginx.conf
I don't think this works as a limitation of Docker.
See https://github.com/moby/moby/issues/30310
I would like to mount only one file like this:
docker-compose.yml example: