Recent Articles - Docker
Testing Docker Images with Container Structure Test
Jul 18, 2020 · 4 min read
Just because a Docker image builds successfully doesn't mean it will perform as expected. Google's container Structure Test tool helps you check images to make sure they're working as intended.
Reducing Docker Layers
Jun 29, 2020 · 5 min read
Reducing the size of your Docker images is important for a number of reasons, and while there are newer tools such as multi-stage builds, reducing the number of layers in your image may help.
Using Multi-Stage Docker Builds with Go
Jun 4, 2020 · 4 min read
Multi-stage Docker builds can greatly reduce the size of final built images, and the savings can be extreme with Go.
Tunneling a Database Connection with Docker Compose
Aug 7, 2019 · 3 min read
I recently had the need to tunnel a database connection from a local Docker container to a remote MySQL server. The AWS RDS instance is inside the same VPC as a bastion host that runs the SSH server. Rather than open the tunnel on the host machine and have the container connect through host.docker.internal I thought I'd configure it all in one place with Docker Compose.