Base Docker Image
(alternatively, you can build an image from Dockerfile:
docker build -t="viranch/stikked" github.com/viranch/docker-stikked)
You'll need to setup a MySQL database and a user for stikked.
Copy the config file from here.
Set database configuration (and any other configuration you might want) in the file, and save it at a persistent location of your choice, e.g.,
Mount the config file on to the docker container while running it:
docker run -d -v ~/data/stikked/stikked.php:/data/http/application/config/stikked.php -p 80:80 viranch/stikked.
docker run -d -v /path/to/stikked.php:/data/http/application/config/stikked.php -p 80:80 viranch/stikked
After few seconds, open
http://<host>/ to see the result.
@magixx: You will need to bind the stikked container's network to host network so that it can access MySQL on 127.0.0.1.
How is the container supposed to access the mysql running on the host?