Skip to content
This repository has been archived by the owner on Jun 14, 2024. It is now read-only.

Consider adding the Z SELinux label to the docker installation script #580

Open
adarah opened this issue Jun 27, 2021 · 0 comments
Open

Comments

@adarah
Copy link

adarah commented Jun 27, 2021

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.

  • Lumber Package Version: latest
  • Database Dialect: Postgres
  • Database Version: 12

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant