Skip to content
This repository was archived by the owner on Jun 14, 2024. It is now read-only.
This repository was 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

Description

@adarah

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions