From 95ecdeabff6db356e80a7f63e6eb345ca33958e6 Mon Sep 17 00:00:00 2001 From: Francis Dinh Date: Wed, 12 Apr 2023 00:35:34 -0400 Subject: [PATCH] docs: Add note about SELinux volume mount option in Docker guide Something that I've discovered while trying to run FoundKey's docker-compose config on Podman via podman-compose on my Fedora laptop. --- docs/install-docker.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/install-docker.md b/docs/install-docker.md index 6e9d14b92..9444c5ace 100644 --- a/docs/install-docker.md +++ b/docs/install-docker.md @@ -40,6 +40,7 @@ You will need to set the database host to `db` and Redis host to `redis` in orde Edit `docker-compose.yml` if necessary. (e.g. if you want to change the port). +If you are using SELinux (eg. you're on Fedora or a RHEL derivative), you'll want to add the `Z` mount flag to the volume mounts to allow the containers to access the contents of those volumes. ## Build and initialize The following command will build FoundKey and initialize the database.