2 ms·
File Permissions: the painful side of Docker (2019)
- epage 5y agoRan into permission issues with Docker on Linux and found this useful. I ended up going the ACL route. To make the ACL recommendation more universally applicable, I'd recommend changing setfacl -dm "u:alexandros:rw" ~/alpine to setfacl -R -dm "u:alexandros:rwx" ~/alpine - -R is needed in case ~/alpine has subdirectories you need to make accessible - "x" is needed in case the container creates subdirectories (like with "node_modules")