Browse Source

compose: added note on attempt to make /encrypted a named volume

Fabian Peter Hammerle 5 years ago
parent
commit
69b5dbd057
1 changed files with 3 additions and 0 deletions
  1. 3 0
      docker-compose.yml

+ 3 - 0
docker-compose.yml

@@ -15,6 +15,9 @@ services:
     # TODO replace host path with named volume
     # [...] the local driver accepts mount options as a comma-separated list in the o parameter.
     # https://docs.docker.com/storage/volumes/
+    #
+    # update 2019-03-27: adding 'shared' to volumes.*.driver_opts.o did not suffice.
+    # got inspired by https://github.com/docker/compose/issues/2957#issuecomment-403175803
     - /mnt/encrypted:/encrypted:shared
     networks: []
     devices: [/dev/fuse]