Deploying MySQL on Linux with Docker There are also packages with  server-core  and  client-core  in the package names. These contain binaries only and are installed automatically by the standard packages. Installing them by themselves does not result in a functioning MySQL setup. If you are being warned of unmet dependencies by  dpkg , you can fix them using  apt-get : Here are where the files are installed on the system: Debian distributions of MySQL are also provided by other vendors. Be aware that they may differ from those built by Oracle in features, capabilities, and conventions (including communication setup), and that the instructions in this manual do not necessarily apply to installing them. The vendor’s instructions should be consulted instead. The Docker deployment framework supports easy installation and configuration of MySQL Server. This section explains how to use a MySQL Server Docker image. You need to have Docker installed on your system before you can use a MySQL Server Docker image. See Install Docker for instructions. You need to either run  docker  commands with  sudo , or create a  docker usergroup, and then add to it any users who want to run  docker  commands. See details here. Because Docker containers are always run with root privileges, you should understand the Docker daemon attack surface and properly mitigate the related risks. The MySQL Docker images maintained by the MySQL team are built specifically for Linux platforms. Other platforms are not supported, and users using these MySQL Docker images on them are doing so at their own risk. See the discussion here for some known limitations for running these containers on non-Linux operating systems. Warning Important 2.5.6.1 Basic Steps for MySQL Server Deployment with Docker 2.5.6 Deploying MySQL on Linux with Docker Note •All configuration files (like  my.cnf ) are under  /etc/mysql •All binaries, libraries, headers, etc., are under  /usr/bin  and  /usr/sbin •The data directory is under  /var/lib/mysql •Downloading a MySQL Server Docker Image •Starting a MySQL Server Instance •Connecting to MySQL Server from within the Container •Container Shell Access 182 sudo apt-get -f install