Skip Navigation

How to Containerize Your Go Code

Published: 15-03-2018

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: 
  • 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.

Sign in to download

- Or -

Please provide a few additional details and submit.

Microsoft may use your contact information to provide updates and special offers about Microsoft Azure and other Microsoft products and services. You can unsubscribe at any time. To learn more, read the privacy statement.