Skip to content
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

Use "gosu" instead of "sudo" when changing user #7

Open
apophizzz opened this issue Nov 21, 2017 · 0 comments
Open

Use "gosu" instead of "sudo" when changing user #7

apophizzz opened this issue Nov 21, 2017 · 0 comments
Assignees

Comments

@apophizzz
Copy link
Owner

The problem with using sudo for switching the user is that the container may not be able to get stopped properly when the Docker daemon sends the SIGTERM signal after a docker stop due to missing signal-forwarding. Using gosu might bw helpful to start the Mesos agent process as PID 1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant