-
Notifications
You must be signed in to change notification settings - Fork 380
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
s6-overlay services doesn't work #340
Comments
Thank you for the report and already pointing out the fix! |
Thanks, that works on the example Dockerfile provided. But in the actual usage I'm getting errors that look like this. It doesn't seem like they are related to this issue. If not we can close this.
|
This looks like a different issue. |
Yeah these are created by root in |
Side note:
x11docker works as well if |
Yes this is the default setup. So after I had struggled with s6-overlay services a few times I tried not to change anything from the |
:-) |
s6 cannot execute service scripts because it first copies them to
/run
and/run
is mounted asnoexec
.Here's a very simple Dockerfile to reproduce the issue. If ran without x11docker
s6
works and creates/tmp/did_word
, but with x11docker the file is not present. Modifing--tmpfs /run
to--tmpfs /run:exec
in x11docker script fixes the issue.commands used:
x11docker --init=s6-overlay img
docker run -it img bash
The text was updated successfully, but these errors were encountered: