Based on Kanboard for Docker
I just added the gd
library and used php5enmod
to enable it. I also removed the EXPOSE 80
as I am using jwilder/nginx-proxy to dynamically add hosts/ports.
From your kanboard directory run the following command:
docker build -t youruser/kanboard:master .
To run your image in background on the port 80:
docker run -d --name kanboard -p 80:80 -t youruser/kanboard:master
You can also save your data outside of the container, on the local machine:
docker run -d --name kanboard -v /your/local/data/folder:/var/www/html/data -p 80:80 -t youruser/kanboard:master