| Volume | description |
|---|---|
| /app/app.jar | Required, app jar or war |
| /app/application.properties | optional external properties |
| /app/libs | optional native libraries, image is using the following setting: java.library.path=/app/libs |
docker run -v <path to jar/war>:/app/app.jar -v <path to application.properties>:/app/application.properties -it bh213/spring-boot-container
my-service:
image: bh213/spring-boot-container
volumes:
- ./myservice/my-service-1.0.1-RELEASE.war:/app/app.jar
ports:
- 8080:8080
Content type
Image
Digest
Size
232.6 MB
Last updated
over 9 years ago
docker pull bh213/spring-boot-container