content_image/812801.jpg content_image/812800.jpg content_image/812803.jpg content_image/812805.jpg content_image/812802.jpg content_image/812804.jpg
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 : 

## 2.5.6 Deploying MySQL on Linux with Docker 

sudo apt-get -f install 

Here are where the files are installed on the system: 

•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 

<img src='content_image/812801.jpg'>

<img src='content_image/812800.jpg'>

## Note 

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. 

## 2.5.6.1 Basic Steps for MySQL Server Deployment with Docker 

<img src='content_image/812803.jpg'>

<img src='content_image/812805.jpg'>

•Downloading a MySQL Server Docker Image 

•Starting a MySQL Server Instance 

•Connecting to MySQL Server from within the Container 

•Container Shell Access 

<img src='content_image/812802.jpg'>

## Important 

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. 

<img src='content_image/812804.jpg'>

## Warning 

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. 

