Skip to content

Use an init system #407

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

Closed
wants to merge 1 commit into from
Closed

Conversation

RichardMcSorley
Copy link
Contributor

@RichardMcSorley RichardMcSorley commented Apr 3, 2019

Describe in detail the problem you had and how this PR fixes it

While using docker container the user can not send POSIX commands like SIGKILL (CTR+C) or SIGTERM to code-server, causing the server to continue running in the background. Best practice in this case is to run an init system.

If a users wants to run the application in the background they should use docker run's -d flag

docker run -d codercom/code-server code-server --allow-http --no-auth

dumb-init documentation

Is there an open issue you can link to?

#361
#383

@RichardMcSorley RichardMcSorley requested a review from nhooyr as a code owner April 3, 2019 00:36
@RichardMcSorley
Copy link
Contributor Author

@nhooyr Great work guys. I love this ❤️

Copy link
Contributor

@nhooyr nhooyr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Beautiful thank you.

@nhooyr
Copy link
Contributor

nhooyr commented Apr 3, 2019

I tested this change locally, it's good @kylecarbs

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

Successfully merging this pull request may close these issues.

2 participants