An open API service indexing awesome lists of open source software.

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

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`