From 582263540829847f60b0c874754d5c1a65e316ab Mon Sep 17 00:00:00 2001 From: parasprite Date: Thu, 5 Nov 2020 15:15:55 -0600 Subject: [PATCH] Updates for readme (cgroups v2, SELinux) (#63) * Updates readme (cgroups v2) * Clarify SELinux instructions Co-authored-by: Parasprite --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 3e10dded..ebcb38cf 100644 --- a/README.md +++ b/README.md @@ -27,13 +27,15 @@ If you run into an Elasticsearch bootstrap error, you may need to increase your sudo sysctl -w vm.max_map_count=262144 ``` -If you have SELinux enforcing, you should run the following in the application directory on the host before proceeding: +If you have SELinux enforcing (Fedora, Arch, others; manifests as a `Could not find a Mix.Project` error), you should run the following in the application directory on the host before proceeding: ``` chcon -Rt svirt_sandbox_file_t . ``` This allows Docker or Podman to bind mount the application directory into the containers. +If you are using a platform which uses cgroups v2 by default (Fedora 31+), use `podman` and `podman-compose`. + ## Deployment You need a key installed on the server you target, and the git remote installed in your ssh configuration.