File Permissions: the painful side of Docker (2019) (blog.gougousis.net) 3 points by epage 5y ago ↗ HN
[–] epage 5y ago ↗ Ran 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")
1 comment
[ 3.6 ms ] story [ 16.3 ms ] threadTo make the ACL recommendation more universally applicable, I'd recommend changing
to - -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")