- How to containerize the Go code you’re working on by following a step-by-step example of building and running Go code within a container.
- Why and when it’s a good idea to build a container from a scratch image, and how to do it.
- How to set up port bindings so that the host can connect to the code running in a container, and how to pass environment variables to your code.
How to Containerize Your Go Code
Build cloud-native apps with Go and then use Docker containers to deploy them in the cloud. In this free e-book, you’ll find key concepts, step-by-step instructions, and examples for packaging your Go services in a Docker container. Start building small, efficient containers for your Go code—no Docker experience needed.
Download the 17-page e-book to learn: