Sign inSign up

lmldocker/person

By lmldocker

•Updated over 4 years ago

Image
0

85

lmldocker/person repository overview

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

http://127.0.0.1:8321/person⁠

2 - Just read a file using VOLUME /home/lml/test.html pointing to where you define.

http://127.0.0.1:8321/volume⁠

3 - System.exit(-1) - To destroy the application and see how the container is restarted under a node/replica

http://127.0.0.1:8321/exit⁠

Leonardo Labolida

Tag summary

Content type

Image

Digest

Size

154 MB

Last updated

over 4 years ago

docker pull lmldocker/person:1.0