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

Fish 10015 design graceful shutdown of docker images #7158

Open
wants to merge 20 commits into
base: main
Choose a base branch
from

Conversation

luiseufrasio
Copy link
Contributor

@luiseufrasio luiseufrasio commented Jan 15, 2025

Description

Implement Docker Images Graceful Shutdown Support

Important Info

Blockers

None

Testing

New tests

None

Testing Performed

Run in WSL:

  1. export JAVA_HOME=/usr/lib/jvm/zulu11-ca-amd64 && export PATH=${JAVA_HOME}/bin:${PATH}
  2. cd Payara
  3. mvn clean install -DskipTests
  4. cd appserver/extras/docker-images/server-full
  5. mvn clean package
  6. cd target/docker
  7. docker build -t payara/server-full:local -f ./payara/server-full/build/Dockerfile.jdk11 ./payara/server-full/tmp/docker-build/
  8. docker run -it -p 8080:8080 -p 4848:4848 --name payara_docker payara/server-full:local
  9. open another WSL Tab
  10. docker ps -a
  11. docker stop <container_id>, it works with only the id's 3 first chars
  12. It should show us the logs of stop-domain with a gracefull shutdown at the ORIGINAL WSL tab

Testing Environment

Zulu JDK 11.0.11 on Ubuntu 22 with Maven 3.9.0

Copy link
Contributor

@fturizo fturizo left a comment

Choose a reason for hiding this comment

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

LGTM, but there are some verbal corrections needed for the messaged printed out

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.

3 participants