Open adarah opened 3 years ago
Context:
The docker setup script provided by the website should work.
I get the EACCES error when running the script.
Error: EACCES: permission denied, mkdir '/usr/src/app/my-project-name'
I'm installing ForestAdmin for the first time using the docker container installation on a SELinux machine (Fedora 34). Fedora34 uses podman instead of Docker.
I was getting this EACCES error due to the docker script trying to edit my host machine via this bind mount (-v `pwd`:/usr/src/app). On SELinux, the Z label is required for this to work. https://docs.docker.com/storage/bind-mounts/#configure-the-selinux-label
With the flag, the installation seems to have worked, but I just thought I should let you guys know.
Context:
Expected behavior
The docker setup script provided by the website should work.
Actual behavior
I get the EACCES error when running the script.
Failure Logs
Error: EACCES: permission denied, mkdir '/usr/src/app/my-project-name'
Context
I'm installing ForestAdmin for the first time using the docker container installation on a SELinux machine (Fedora 34). Fedora34 uses podman instead of Docker.
I was getting this EACCES error due to the docker script trying to edit my host machine via this bind mount (-v `pwd`:/usr/src/app). On SELinux, the Z label is required for this to work. https://docs.docker.com/storage/bind-mounts/#configure-the-selinux-label
With the flag, the installation seems to have worked, but I just thought I should let you guys know.