Image Overview: busybox
ReferenceChainguard ImagesProduct
On this page
stable
cgr.dev/chainguard/busybox
Tags | Aliases |
---|---|
latest | 1 , 1.36 , 1.36.0 , 1.36.0-r5 |
latest-glibc | glibc-1 , glibc-1.36 , glibc-1.36.0 , glibc-1.36.0-r0 |
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