Add workaround for s6 for Fedora, RHEL or CentOS

Due to a bug with s6 and a patched version of docker in RHEL based distributions a successful setup of plex isn't possible with the present readme
This commit is contained in:
Stefan Kirrmann 2016-12-27 17:57:16 +01:00 committed by Graham Booker
parent ba0d290cdd
commit d716f20caf

View File

@ -101,3 +101,12 @@ If you wish to migrate an existing directory to the docker config directory:
- Shell access to the container while it is running: `docker exec -it plex /bin/bash`
- See the logs given by the startup script in real time: `docker logs -f plex`
- Restart the application and upgrade to the latest version: `docker restart plex`
## Fedora, CentOS, Red Hat
If you get the following output after you have started the container, then this is due to a patched version of Docker ([#158](https://github.com/just-containers/s6-overlay/issues/158#issuecomment-266913426))
```
plex | s6-supervise (child): fatal: unable to exec run: Permission denied
plex | s6-supervise avahi: warning: unable to spawn ./run - waiting 10 seconds
```
As a workaround you can add `- /run` to volumes in your docker-compose.yml or `-v /run` to the docker create command.