Example SpringBoot app that can be deployed on OpenShift cluster
500K+
Example SpringBoot app that can be deployed on OpenShift cluster.
$ docker pull pmgysel/spring-boot-app:0.0.1
$ docker run -p 8080:8080 pmgysel/spring-boot-app:0.0.1
Download java repo:
$ git clone https://github.com/pmgysel/cloud-stack_spring-boot-app.git
$ cd cloud-stack_spring-boot-app
Build Docker image:
$ docker build -t pmgysel/spring-boot-app:0.0.1 .
Start Docker container:
$ docker run -p 8080:8080 pmgysel/spring-boot-app:0.0.1
Login to OpenShift using the CLI "oc" tool.
Choose your preferred OS project
$ oc project <your-favorite-project>
Create a new Deployment & Service:
$ oc new-app pmgysel/spring-boot-app:0.0.1
Expose the running container to the outside world:
$ oc expose svc/spring-boot-app
Content type
Image
Digest
Size
111.6 MB
Last updated
about 6 years ago
docker pull pmgysel/spring-boot-app:0.0.1