1 comment

[ 3.6 ms ] story [ 16.3 ms ] thread
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")