I am interested in getting my head around the full concept of using Docker on my server for my web clients.
Ideally I would love to create a docker with apache, PHP, MySQL, email server, DNS server, redis, memcached, imagemagick, and more and have it where I can simply launch to a clients new server and be up in minutes.
I saw this Apcache Docker here https://hub.docker.com/r/eboraas/apache-php/
This is an Apache image including SSL and PHP5 support. In order to use this image effectively, you'll need to mount:
/var/www for your site content (e.g. using "-v /home/jdoe/mysite/:/var/www/") /var/log/apache2, optionally, if you want to store logfiles visibly outside the container /etc/ssl, optionally, if you wish to use SSL with real keys
Mount /var/www for your site content
If I understand correctly this is to allow outside folder/files of websites to exist on the server outside of the Docker image so that Docker is basically just to handle the actual server software?
Some more questions:
Would things like Apache Virtualhost records for adding domains exist inside the docker image or on the server outside of it and be editable?