ko
Simple, fast container image builder for Go applications without Docker daemon dependencies.
Why consider ko?
ko is an open-source container image builder for Go applications written in Go by Google and Chainguard. ko builds multi-platform OCI container images by compiling Go binaries directly onto distroless base images without writing Dockerfiles or running Docker engines.
Learn ko by building
Practical setup notes, real use cases, and copy-ready examples in one focused guide.
In this guide2 sections
Overview of ko
ko compiles and pushes secure distroless Go container images in one command.
Quickstart
# Build and publish Go imageKO_DOCKER_REPO=registry.company.com ko build ./cmd/serverko is licensed under the Apache License Version 2.0.
Related tools
More options with a similar category or technology profile.
diskus
Minimal, fast alternative to du -sh written in Rust using multi-threaded directory traversal.
peco
Simplistic interactive filtering tool for Unix pipelines, process lists, and file trees.
Dapr CLI
Command-line tool for managing Dapr distributed application runtime environments and sidecars.
Freeze
Generate beautiful image screenshots and SVGs of code snippets and terminal outputs.