Easy to do Docker Container setup for Spring Boot Admin
docker build -t spring-boot-admin-docker .
- Run build step
- Tag with
docker tag spring-boot-admin-docker <organization>/spring-boot-admin-docker:<spring_admin_version>
- Push with
docker push <organization>/spring-boot-admin-docker:<spring_admin_version>
With Docker Compose
version: '3'
services:
spring-admin:
container_name: local-spring-admin
image: rustedshark/spring-boot-admin-docker:2.1.6
ports:
- "8090:8080"
With Docker Daemon
docker run -d -p 8090:8080 --name local-spring-admin rustedshark/spring-boot-admin-docker:2.1.6