To check container logs, create an image from a container, and restore it.
The container created for the Java program was monitored using logs.
Later, the container was converted into an image and exported.

The container was successfully converted into an image and reused.