Answer the question
In order to leave comments, you need to log in
Why not enough permissions to read the file when using a named Docker volume?
I have an application running on docker-compose
version: "3.0"
services:
static:
...
volumes:
- share-images:/usr/share/imgs
bus:
...
volumes:
- share-images:/usr/share/imgs
volumes:
share-images:
# ls -al /usr/share/imgs
total 456
drwxr-xr-x 2 root root 4096 Jun 30 10:44 .
drwxr-xr-x 1 root root 4096 Jun 30 10:24 ..
-rw-r----- 1 root root 175804 Jun 30 10:44 27278103-9d2f-4599-8599-f9fc066c5bb5.jpg
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question