Installing MySQL in a Docker container is easier to use and quick. It will not mess up the OS and whenever needed it can be started and stopped simply by issuing the Docker containers commands. Just follow the simple steps below. pull the MySQL Docker image from Docker Hub. docker pull mysql 2. Now run
Installation is very simple on Linux (Mint or Ubuntu). Follow the official installation steps for community edition through repository method. If using Linux Mint 19 (tara) then instead of using : sudo add-apt-repository “deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable” use this : sudo add-apt-repository “deb [arch=amd64] https://download.docker.com/linux/ubuntu bionic stable” https://docs.docker.com/install/linux/docker-ce/ubuntu/#install-docker-ce-1