mirror of
https://github.com/Brandon-Rozek/website.git
synced 2024-11-21 15:56:29 -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
|
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`!
|
Now we can run `docker-compose`!
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
docker-compose ps
|
docker-compose ps
|
||||||
```
|
```
|
||||||
|
|
||||||
|
[^1]: https://bugzilla.redhat.com/show_bug.cgi?id=2125878
|
||||||
|
|
Loading…
Reference in a new issue