add docker volume note

master
michael 2023-10-19 11:14:24 -07:00
parent f614688892
commit 3457811260
1 changed files with 8 additions and 0 deletions

View File

@ -27,6 +27,14 @@
Most services are run as Docker containers. 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 ### 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`: Docker volumes violate some SELinux policies. Use `setenforce 0` to disable it temporarily, or make the following permanent change to `/etc/sysconfig/selinux`: