---
title: "Discussion on \"Containerize Golang Application\" | Hashnode"
description: "Discussion on \"Containerize Golang Application\". Let's assume we have a sample Golang application (in a Go project folder).\nContents of main.go\npackage main\nimport \"fmt\"\nfunc main() {\n    fmt.Println(\"hello world\")\n}\n\nIn the same folder, run the following commands to initialize go modules\n# initial..."
url: "https://hashnode.com/posts/containerize-golang-application/64bc40f519ae021f113bcaa9"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Containerize Golang Application](https://mridulganga.dev/containerize-golang-application?utm_source=hashnode&utm_medium=feed)

Let's assume we have a sample Golang application (in a Go project folder). Contents of main.go package main import "fmt" func main() { fmt.Println("hello world") } In the same folder, run the following commands to initialize go modules # initial...

Jul 22, 2023 · 2 min read · mridulganga.dev  
Read the article

-   [#golang](https://hashnode.com/tag/golang)
-   [#docker](https://hashnode.com/tag/docker)
-   [#guide](https://hashnode.com/tag/guide)

## Written by

[Mridul Ganga](https://hashnode.com/@mridulganga)

@mridulganga · Bangalore, IN

  
[View profile](https://hashnode.com/@mridulganga)

Me do dev

I am a full stack developer mainly using golang. I work on Cloud at HPE, Bangalore, India.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
