WASdev / ci.docker.websphere-traditional

Dockerfiles for WebSphere Application Server traditional
Apache License 2.0
171 stars 192 forks source link

Container stops if server is restarted #76

Closed mikkolaakko closed 6 years ago

mikkolaakko commented 6 years ago

Docker container automatically stops if I stop the server using the stopServer.sh script. I think that is Docker feature. What is recommended practice to restart the server?

arthurdm commented 6 years ago

@Muotovalio - by default (unless you override the CMD) the server inside the container is PID 1, so if you exit that process Docker will correctly stop the container. So you would have to start the container again, which would automatically start the server inside.

arthurdm commented 6 years ago

Closing this as answered. If there's still an issue please feel free to re-open.