Sign inSign up

saara20/first-spring-boot-app

By saara20

Updated over 6 years ago

First spring boot

Image
0

202

saara20/first-spring-boot-app repository overview

How to execute/run the image:

By using default port 8080 (here we need to EXPOSE the 8080 port to docker image while running the image)

docker run -p 8080:8080 saara20/first-spring-boot-app

By using dynamic port (if we want to change the dynamic port while running the docker image and also EXPOSE the same port to Conntainer)

docker run -p <port_number>:<port_number> <image_name> --server.port=<port_number>

Example:

docker run -p 9000:9000 saara20/first-spring-boot-app --server.port=9000

!! Happy to learn !!

Tag summary

Content type

Image

Digest

Size

84.1 MB

Last updated

over 6 years ago

docker pull saara20/first-spring-boot-app