Master java skills

Update Docker Image and Container

Find out the current image

Run the below command

docker images

Find the image id and inspect it

docker inspect <image-id>

Get the details of the process

docker ps -a

Stop the container

docker stop <container-id>

verify the status should be Exited

Remove the container

Build the image again and run the container