In this recipe, we will learn how to run a Go web application Docker image to create a container which will communicate with the MYSQL database instance running in a separate Docker container.
As we know Docker does not support automatic service discovery on the default bridge network, we will be using the user-defined network that we created in one of our previous recipes to run a Go web application Docker image.