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 also includes support for simple YAML templating which makes it a powerful tool for Kubernetes applications. ko depends on the authentication configured in your Docker config. If you can push an image with docker push, you are already authenticated for ko. Since ko doesn't require docker, ko login also provides a surface for logging in to a container image registry with a username and password, similar to docker login. Additionally, if auth is not configured in the Docker config, ko includes built-in support for authenticating container registries.

Features

  • Because Go supports cross-compilation to other CPU architectures and operating systems, ko excels at producing multi-platform images
  • ko can also bundle static assets into the images it produces
  • ko also includes support for simple YAML templating
  • ko builds images by effectively executing go build on your local machine
  • Doesn't require docker to be installed
  • A good fit for lightweight CI/CD use cases

Project Samples

Project Activity

See All Activity >

License

Apache License V2.0

Follow ko

ko Web Site

Other Useful Business Software
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of ko!

Additional Project Details

Operating Systems

Linux, Windows

Programming Language

Go

Related Categories

Go Software Development Software, Go Build Tools

Registered

2022-02-09