build simple docker images
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
bin
include_resources
Dockerfile
Dockerfile-tomcat
README.md

README.md

docker-build

Setup

Install Docker

If MACOS, install docker-machine

If MACOS, create docker-machine call it default-small

Change your image tag in ./bin/funct.sh

Build Dockers

./bin/build.sh # builds simplest docker image

./bin/build-tomcat.sh # builds bare bones tomcat image

Run Dockers

./bin/run.sh # runs the last image built above

Verify Tomcat

If MACOS, curl against your docker-machine

curl $(docker-machine ip default-small):8080

Otherwise, curl directly against docker

curl localhost:8080