Image Overview: busybox

Overview: busybox Chainguard Image

Container image with only busybox and libc (available in both musl and glibc variants). Suitable for running any binaries that only have a dependency on glibc/musl.

Image Variants

There are two variants, one for musl and one for gclib.

  • latest: This is a image that has busybox and is for musl based variants.
  • latest-glibc: This is a image that has busybox and is for glibc based variants.

Get It!

The image is available on cgr.dev:

docker pull cgr.dev/chainguard/busybox:latest

Usage

We are going to run a simple hello world to make sure things are working either on the musl or glibc one:

musl:

docker run -it cgr.dev/chainguard/busybox:latest echo hello world!

glibc:

docker run -it cgr.dev/chainguard/busybox:latest-glibc echo hello world!

and you should see hello world! printed.

You can get a running shell on the image like this:

docker run -it cgr.dev/chainguard/busybox:latest sh