boky/k3s

By boky

Updated over 4 years ago

Latest version of K3S binary, automatically downloaded.

Image

479

Pre-build docker image with K3S binary

Stop downloading images from GitHub manually. Stop worrying about the platform and where's the latest version.

Here you have the pre-build docker image with the latest version of the k3s binary, already in the image.

These images are automatically built weekly using a GitHub Action. The latest binary is pulled automatically for all configured architectures.

Usage is simple:

  • either use it directly, or
  • pull this image to use it inside your docker builds

Using the image

Direct usage

Run it as any other docker image, e.g.

docker run --rm -it [-v ...] boky/k3s

or make it an alias:

alias k3s='docker run --rm -it [-v ...] boky/k3s'
Use it during the build

Get the binary into your image by simply setting it up like this:

FROM boky/k3s AS k3s
...

FROM ubuntu
...
COPY --from=k3s /k3s /usr/local/bin/k3s

Using a specific version

If you'd like, it's quite trivial to pin your builds to a specific version -- e.g. boky/k3s:1.19.2.

Docker Pull Command

docker pull boky/k3s