Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
K

ko

> DevOps
Open source

Build and deploy Go applications

8.5K stars0 likes2 views
WebsiteGitHub

About

Build and deploy Go applications

ko: Easy Go Containers


Google has applied for ko to join the Cloud Native Computing Foundation as a Sandbox project! Learn more here!

ko is a simple, fast container image builder for Go applications.

It's ideal for use cases where your image contains a single Go application without any/many dependencies on the OS base image (e.g., no cgo, no OS package dependencies).

ko builds images by effectively executing go build on your local machine, and as such doesn't require docker to be installed. This can make it a good fit for lightweight CI/CD use cases.

ko makes multi-platform builds easy, produces SBOMs by default, and includes support for simple YAML templating which makes it a powerful tool for Kubernetes applications.

Install ko and get started!

Acknowledgements

This work is based heavily on experience from having built the Docker and Kubernetes support for Bazel. That work was presented here.

Discuss

Questions? Comments? Ideas? Come discuss ko with us in the #ko-build channel on the Kubernetes Slack! See you there!

Community Meetings

You can find all the necessary details about the community meetings in this page.

Issues· 55 open

View all issuesOpen on GitHub
  • #1597

    Feature Request: Add compression level configuration option

    lifecycle/staleUpdated Sep 9, 2026
  • #1620

    Security: GOFLAGS env bypasses toolexec check in gobuild.go

    lifecycle/staleUpdated Sep 9, 2026
  • #1739

    ko build -toolexec opt-in flag to allow use in git workflow

    Updated Aug 20, 2026
  • #1709

    Add oci-archive output for registry-free multi-platform builds

    Updated Jul 15, 2026
  • #1708

    docs: document that --tarball does not support multi-platform images

    Updated Jul 14, 2026
  • #261

    Look at zig for cross-platform CGO builds

    help wantedgood first issuelifecycle/frozenUpdated Jun 10, 2026
  • #539

    Check for push permissions before building

    good first issuelifecycle/frozenUpdated Jun 10, 2026
  • #944

    Renameable binaries / path

    lifecycle/frozenUpdated Jun 10, 2026
  • #251

    Allow ko layers to stack cleanly

    help wantedlifecycle/frozenUpdated Nov 12, 2025
  • #643

    Idea: build all images defined in .ko.yaml

    lifecycle/frozenUpdated May 22, 2024

> Tags

Gocontainercontainersdeploydocker

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 30, 2026
CategoryDevOps
PricingOpen source

> Related tools

D
Docker
容器化平台,标准化应用交付
G
GitHub Actions
GitHub 原生 CI/CD 工作流
N
Nginx
高性能 Web 服务器与反向代理