Skip to content

Commit

Permalink
Add workaround for s6 for Fedora, RHEL or CentOS
Browse files Browse the repository at this point in the history
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
  • Loading branch information
kirrmann authored and gbooker committed Dec 28, 2016
1 parent ba0d290 commit d716f20
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

0 comments on commit d716f20

Please sign in to comment.