Add instructions for running in a Docker container

This commit is contained in:
Scott Schneider 2016-12-20 10:54:09 -08:00
parent 833e34ce37
commit d85f84011f
2 changed files with 18 additions and 0 deletions

View file

@ -1,3 +1,13 @@
# Run vmpooler in a Docker container! Configuration can either be embedded
# and built within the current working directory, or stored in a
# VMPOOLER_CONFIG environment value and passed to the Docker daemon.
#
# BUILD:
# docker build -t vmpooler .
#
# RUN:
# docker run -e VMPOOLER_CONFIG -p 80:4567 -it vmpooler
FROM jruby:1.7-jdk
RUN mkdir -p /var/lib/vmpooler