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

BUG: Development container does not stop when rails rails stops, but it would be nice if it did #2780

Open
afred opened this issue May 24, 2024 · 0 comments

Comments

@afred
Copy link
Contributor

afred commented May 24, 2024

Background

The image starts Jetty, which runs in the background, and then keeps the container on, even if the Rails server (the CMD for the image) stops.

Done when

As a programmer
When running the container in an interactive terminal window, e.g. -it option
And when the Rails server stops
The container also stops
And does not continue to run because jetty is running
So that it can easily be restarted without having to issue an extra docker stop command on the container.

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

No branches or pull requests

1 participant