Updates for readme (cgroups v2, SELinux) (#63)

* Updates readme (cgroups v2)

* Clarify SELinux instructions

Co-authored-by: Parasprite <foalspeedahead@gmail.com>
This commit is contained in:
parasprite 2020-11-05 15:15:55 -06:00 committed by GitHub
parent 5aad10b351
commit 5822635408
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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.