Product Docs
Open Source
Education
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.
There are two variants, one for musl and one for gclib.
latest
latest-glibc
The image is available on cgr.dev:
cgr.dev
docker pull cgr.dev/chainguard/busybox:latest
We are going to run a simple hello world to make sure things are working either on the musl or glibc one:
musl:
musl
docker run -it cgr.dev/chainguard/busybox:latest echo hello world!
glibc:
glibc
docker run -it cgr.dev/chainguard/busybox:latest-glibc echo hello world!
and you should see hello world! printed.
hello world!
You can get a running shell on the image like this:
docker run -it cgr.dev/chainguard/busybox:latest sh