docs/language/golang/index.md

1.5 KiB
Raw Blame History

description keywords title toc_min toc_max
Containerize Go apps using Docker docker, getting started, go, golang, language, dockerfile What will you learn in this module? 1 2

In this guide, you will learn how to create a containerized Go application using Docker.

Why Go{:target="blank" rel="noopener" class=""}? Go is an open-source programming language that lets you build simple, reliable, and efficient software. Go is undeniably a major player in the modern Cloud ecosystem; both Docker and Kubernetes are written in Go.

Acknowledgment

We'd like to thank Oliver Frolovs{:target="blank" rel="noopener" class=""} for his contribution to the Golang get started guide.

In this guide, youll learn how to:

  • Create a new Dockerfile which contains instructions required to build a Docker image for a simple Go program
  • Run the newly built image as a container
  • Set up a local development environment to connect a database to the container
  • Use Docker Compose to run your Go application and other services it requires
  • Configure a CI/CD pipeline for your application using GitHub Actions{:target="blank" rel="noopener" class=""}

You can containerize your own Go application using the examples and resources provided after you complete the Go getting started modules.

Let's get started!

Build your Go image{: .button .outline-btn}