From d716f20cafb73259c2542190e2d14c81eb2abe6b Mon Sep 17 00:00:00 2001 From: Stefan Kirrmann Date: Tue, 27 Dec 2016 17:57:16 +0100 Subject: [PATCH] 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 --- README.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/README.md b/README.md index e402979..c593762 100644 --- a/README.md +++ b/README.md @@ -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.