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
$300 Free Credits for Your Google Cloud Projects Icon
$300 Free Credits for Your Google Cloud Projects

Start building on Google Cloud with $300 in free credits. No commitment, no credit card required until you're ready to scale.

Launch your next project with $300 in free Google Cloud credits—no strings attached. Test, build, and deploy without risk. Use your credits across the entire Google Cloud platform to find what works best for your needs. After your credits are used, continue with always-free tier services. Only pay when you're ready to scale. Sign up in minutes and start exploring.
Start Free Trial
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