I used Docker to containerize projects like Bender and my custom OTel Collector. However, after glancing at one of the projects my teammates were working on, I decided to take a look at ko.
Oh my gosh! Ko is such a magnificent tool!
It brings the simplicity, efficiency, and fun of Go to containerization. If you need to build a container for your Go app, stop searching and start using ko.
To build a container, you don’t need Docker. Pick your favorite registry, for example, the GitHub Container Registry, and:
|
|
That’s it!
You now have your app as a multi-architecture container ready to deploy.
You can’t go better than this 15-minute talk from Jason Hall for a great introduction to ko.
Enjoy.