The benefits of using Docker for your development environments are well known by now. You get consistency across machines, the ability to easily install databases locally, and everything is self-contained.
I’ve put together a small example showing how to use Docker and
docker-compose to set up an environment for a Go app. It also uses gin for hot code reloading, enabling fast development.
Get the code from Github.
Cover image from Unsplash.