mirror of
https://github.com/Brandon-Rozek/website.git
synced 2024-11-24 17:16:30 -05:00
Updated post
This commit is contained in:
parent
ccfdccda08
commit
9dc32243cd
1 changed files with 10 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue