https://github.com/pdrastil/demo-docker
Demo Java web application in docker
https://github.com/pdrastil/demo-docker
docker docker-compose
Last synced: 4 days ago
JSON representation
Demo Java web application in docker
- Host: GitHub
- URL: https://github.com/pdrastil/demo-docker
- Owner: pdrastil
- License: mit
- Created: 2020-03-03T23:32:57.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-03-07T14:33:38.000Z (over 6 years ago)
- Last Synced: 2025-09-07T06:22:58.630Z (10 months ago)
- Topics: docker, docker-compose
- Language: Dockerfile
- Homepage:
- Size: 15.5 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Docker demo application
This repository contains sample Docker container with web application running on port 8080.
## Image details
- Alpine 3.11
- Oracle Java 8
- Java web application
## Usage
To test sample web application run following commands
```sh
$ ID=$(docker run -d -p 8080:8080 pdrastil/hello-world:1.0)
$ curl localhost:8080
$ docker kill $ID
```
## How to build
Use `make` or reproduce the `docker build` commands from `Makefile`