From 9dc32243cd73b24e6e226613c292df37112fe668 Mon Sep 17 00:00:00 2001 From: Brandon Rozek Date: Sun, 27 Nov 2022 15:14:41 -0500 Subject: [PATCH] Updated post --- content/blog/rootless-docker-compose-podman.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/content/blog/rootless-docker-compose-podman.md b/content/blog/rootless-docker-compose-podman.md index d1d2a2a..7e40dba 100644 --- a/content/blog/rootless-docker-compose-podman.md +++ b/content/blog/rootless-docker-compose-podman.md @@ -56,8 +56,18 @@ services: restart: always ``` +If you want to add to add more volumes to the container, make sure it has the appropriate SELinux label if +you're using a distribution with it enabled.[^1] + +```bash +chcon -t container_file_t -R X +``` +where `X` is the volume you wish to mount. + Now we can run `docker-compose`! ```bash docker-compose ps ``` + +[^1]: https://bugzilla.redhat.com/show_bug.cgi?id=2125878