added links to docker hub and production docker repo (#396)

This commit is contained in:
Toby Batch
2018-11-08 22:07:33 +00:00
committed by Kevin Papst
parent 33029b2a11
commit d72596f000

View File

@@ -1,11 +1,20 @@
# Docker
We bundle a simple docker that can be used for test purposes. Either pull it from docker hub or build it.
The Dockerfile supplied with this application is development or demonstration docker. It runs a self contained version of kimai2 against a sqlite database in the docker container.
There is an official docker repo for the kimai app that includes the Docker file from this repo and a docker file suitable for running in a production environment.
* The docker repo: [https://github.com/tobybatch/kimai2](https://github.com/tobybatch/kimai2)
* That repo on dockerhub auto-building the prod and dev conatiners: [https://hub.docker.com/r/kimai/kimai2](https://hub.docker.com/r/kimai/kimai2).
Any issues with the container rather than the application itself should be raised [here](https://github.com/tobybatch/kimai2/issues).
## Build the docker
docker build -t kimai/kimai2:dev .
## Run the docker
docker run -ti -p 8001:8001 --name kimai2 --rm kimai/kimai2:dev