Java SpringBoot helloworld image container example
docker run -p 8321:8321 -v /home/lml/:/home/lml/ --rm lmldocker/person:1.0
Endpoints:
1 - JSON RESPONSE WITH LIST
2 - Just read a file using VOLUME /home/lml/test.html pointing to where you define.
3 - System.exit(-1) - To destroy the application and see how the container is restarted under a node/replica
Leonardo Labolida
Content type
Image
Digest
Size
154 MB
Last updated
over 4 years ago
docker pull lmldocker/person:1.0