[TOC]
This repository contains the sources for the following base images:
# Pull image
git clone https://github.com/idoall/docker.git
cd ubuntu16.04-tengine2.2.0-php7.1.9-dokuwiki
# hack hack hack
# build
docker build -t idoall/ubuntu16.04-tengine2.2.0-php7.1.9-dokuwiki .
# run
docker run -it \
--rm \
--name dokuwiki \
--hostname dokuwiki \
-p 80:80 \
idoall/ubuntu16.04-tengine2.2.0-php7.1.9-dokuwiki
# Then setup dokuwiki using installer at URL http://localhost/install.php
The dokuwiki container uses host mounted volumes to store persistent data:
Local location | Container location |
---|---|
/srv/dokuwiki_folder |
/home/work/_app/nginx/html |
You can fine tune these directories to meet your requirements.