From 34578112600587905fd1ba0b72cc88e4d860630b Mon Sep 17 00:00:00 2001 From: turtlebasket Date: Thu, 19 Oct 2023 11:14:24 -0700 Subject: [PATCH] add docker volume note --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.md b/README.md index 813628b..b7379c8 100644 --- a/README.md +++ b/README.md @@ -27,6 +27,14 @@ Most services are run as Docker containers. +### Volume Permission Notes + +In a standard setup, we will have a `docker` usergroup. To make a *user-created directory* usable as a volume, run the following: + +```bash +sudo chown -R my-user:docker my-dir +``` + ### SELinux Notes Docker volumes violate some SELinux policies. Use `setenforce 0` to disable it temporarily, or make the following permanent change to `/etc/sysconfig/selinux`: