Docker image for BusyBox's sh
Repository name in Docker Hub: williamyeh/busybox-sh
This Docker image contains only the "SH" part of BusyBox.
To build a minimal Docker image, you may begin with
scratch, and then add something (usually static binary files without any runtime dependency) into it.
Sometimes we'd also like to put simple wrapper scripts into the image, too. Most people will begin with base images such as
alpine. However, even the BusyBox itself can be slimed down further, since the only thing needed here is a sh-compatible shell to interpret and execute our
For this case, I build a minimal Docker base image that contains only a statically linked program: the "SH" part ("HUSH") of BusyBox.
Highly compatible with sh (Bourne Shell).
Small (about 989 kB).
Mostly used as a base image. For example:
# First, inherit from this image... FROM williamyeh/busybox-sh # Then, put your static binaries and scripts below... COPY ... ADD ...
About the rootfs
To build the rootfs on your own, see instructions for more details.
- 1.0 - Initial release.
William Yeh, firstname.lastname@example.org
This image contains two components; each has its own license statement, respectively.