Setup your database with Docker
Yeah, I wanted to do one of those for a long time 😁
So, we have to stay at home for the moment, I decided to make a “walkthrough” about something I used sometimes and I couldn’t remember all the commands. So, let’s build our MySQL database within a Docker container 🐳 !
Get the Docker image I will be using the mysql image from the Docker hub.
1 docker pull mysql Run the container For further details, you can read the official documentation for the image on Docker hub.