After I run a Docker image containing the jar package of the SpringBoot application, I see the debugging information of the successful startup of the SpringBoot application on the host console:

Use the docker ps command to find the container ID:

Use the docker exec command to get inside the container:

sudo docker exec -it 623cc253de67 /bin/sh

For more of Jerry’s original articles, please follow the public account “Wang Zixi “: