How to configure the directory where to store each database?

The context : I’m “playing” with Docker to host severals websites on one of my VPS.

I run 1 httpd docker container for each of this website, but I’ve not enought resources to run 1 mysqld container for all of them…

  • How would you go about dockerfile and rpm scripting?
  • ImportError: No module named … on docker toolbar on windows
  • Docker - Running Container but can’t view app in browser
  • cannot build docker image
  • Docker scale with one-to-one links
  • Should I use separate Docker containers for my web app?
  • So I’m going to run only 1 mysqld instance, but I would like to manage database’s data storage. Is it possible to tell mysql the location of each database on my filesystem?

  • Get List of Official Docker Images
  • how to find out account or usage infos for a docker image?
  • Why the directory created after WORKDIR disappear
  • Docker cannot build because can't find matching distribution of a requirement
  • How do I use docker on Win 8.1 (boot2docker) both behind a proxy and without a proxy?
  • How to run bash function in Dockerfile
  • Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.