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 to make Docker to avoid V1 registry
  • Implementing MongoDB in AWS EC2 Container Service
  • Kubernetes can't start due to too many open files in system
  • How to properly check if a Symfony application is installed?
  • Dependent Containers and Links with IBM DevOps Services Build Pipeline
  • Unable to start docker after configuring hosts in daemon.json
  • 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?

  • Ssh connect error - not a valid identifier
  • 'docker build' gives error that 'docker run' doesn't. How are they different?
  • Unable to connect to Docker Nginx build
  • Set PortBindings config for ContainerCreate function in golang sdk for docker api
  • Linking docker containers to combine different libraries
  • Kubernetes run on AWS
  • Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.