Deploying MySQL on Linux with Docker •Select the  Patches and Updates  tab. •Go to the  Patch Search  region and, on the  Search  tab, switch to the  Product or Family (Advanced) subtab. •Enter “MySQL Server”  for the  Product  field, and the desired version number in the  Release  field. •Use the dropdowns for additional filters to select  Description — contains , and enter “Docker”  in the text field. •Click the  Search  button and, from the result list, select the version you want, and click the  Download button. •In the  File Download  dialogue box that appears, click and download the  .zip  file for the Docker image. 184 The  --restart  option is for configuring the restart policy for your container; it should be set to the value on-failure , to enable support for server restart within a client session (which happens, for example, when the RESTART statement is executed by a client or during the configuration of an InnoDB cluster instance). With the support for restart enabled, issuing a restart within a client session causes the server and the container to stop and then restart.  Support for server restart is available for MySQL 8.0.21 and later. The  --name  option, for supplying a custom name for your server container, is optional; if no container name is supplied, a random one is generated. The image name can be obtained using the  docker images  command, as explained in Downloading a MySQL Server Docker Image. To start a new Docker container for a MySQL Server, use the following command: docker run --name= container_name --restart on-failure -d  image_name : tag Starting a MySQL Server Instance shell>  docker images REPOSITORY TAG IMAGE ID CREATED SIZE mysql/mysql-server latest 3157d7f55f8d 4 weeks ago 241MB docker load -i mysql-enterprise-server- version .tar You can list downloaded Docker images with this command: Unzip the downloaded  .zip  archive to obtain the tarball inside ( mysql-enterprise- server- version .tar ), and then load the image by running this command: The following figure shows the search settings for the MySQL Enterprise Edition image for MySQL Server 8.0: