A minimal layered image with tini, ca-certificates, mimalloc, busybox, and su-exec.
9.5K
A minimal layered image with tini, ca-certificates, mimalloc, busybox, and su-exec.
0.6.2, 0.6, 0, sh, latest0.6.2-mi, 0.6-mi, 0-mi, mi, dynamic0.6.2-ca, 0.6-ca, 0-ca, ca, static0.6.2-tn, 0.6-tn, 0-tn, tn, initTip
sh,latest when interactive shell is required (ash)mi,dynamic formimallocdrop-in replacementca,static when CA certificates are requiredtn,init minimal image with validinitfor containers
| Tags | AMD64 | ARM64 | Description |
|---|---|---|---|
* sh | 2.48 MB | 2.82 MB | Layer on mi with busybox, su-exec |
mi | 1.53 MB | 1.60 MB | Layer on ca with mimalloc |
ca | 426 KB | 433 KB | Layer on tn with ca-certificates |
tn | 208 KB | 216 KB | Layer on fs with tini |
0.5.0 - 2026-04-19
* Interactive minimal distroless, consider kgrv/alpine when a package manager is needed.
| OS/ARCH | Description |
|---|---|
linux/amd64 | 64-bit x86 architecture for Linux operating systems |
linux/arm64 | 64-bit ARM architecture for Linux operating systems |
| Type | Container | Availability | Function |
|---|---|---|---|
| Volume | /mnt | >= fs | Optional Bind mount volume |
| Environment | EUID | >= sh | Optional Effective User ID |
| Environment | EGID | >= sh | Optional Effective Group ID |
| Environment | UMASK | >= sh | Optional Default permissions |
| Environment | SUGGEST | >= sh | Optional Set suggestion messages |
| Environment | FALLBACK_CMD | >= sh | Optional Set command when empty |
| Keyword | Availability | Configuration |
|---|---|---|
SHELL | >= tn | [ "/bin/ash", "-euxo", "pipefail", "-c" ] |
ENV | >= tn | PATH_APP=/app |
ENV | >= tn | PATH_CONFIG=/config |
ENV | >= tn | PATH_DATA=/data |
ENV | >= tn | PATH_HOME=/mini |
ENV | >= tn | PATH_MNT=/mnt |
ENV | >= tn | LD_LIBRARY_PATH=/app/lib:/usr/local/lib |
ENV | >= tn | PATH=/app/bin:${PATH} |
ENV | >= tn | XDG_CONFIG_HOME=/config |
ENV | >= tn | XDG_DATA_HOME=/data |
ENV | >= tn | HOME=/mini |
ENV | >= tn | USER=mini |
WORKDIR | >= tn | ${PATH_MNT} -> /mnt |
ENTRYPOINT | >= tn | [ "tini", "--" ] |
ENV | >= mi | LD_PRELOAD=/usr/lib/libmimalloc.so |
ENTRYPOINT | >= sh | [ "tini", "--", "enpt" ] |
EUID / EGID environment variablesmini:mini as defaultUMASK defaults to 0022SUGGEST defaults to trueFROM kgrv/mini
tini by using CMD without overriding ENTRYPOINTFROM kgrv/mini:static AS develop
...
CMD [ "nreq", "--debug" ]
ENTRYPOINT with "tini", "--"FROM kgrv/mini:static AS develop
...
ENTRYPOINT [ "tini", "--", "nreq" ]
CMD [ "--debug" ]
sh > TAG >= fs. Add USER before ENTRYPOINT.FROM kgrv/mini:static AS staging
...
USER mini
ENTRYPOINT [ "tini", "--", "nreq" ]
>= sh. Override ENTRYPOINT with "tini", "--", "enpt".FROM kgrv/mini:sh AS develop
...
ENTRYPOINT [ "tini", "--", "enpt", "nreq" ]
CMD [ "--debug" ]
enpt loads the first ash script found in the following orders:
/app/init.sh/app/docker-entrypoint.sh/etc/localtime or /usr/share/zoneinfodocker run -it -v /etc/localtime:/etc/localtime:ro kgrv/mini
docker run -it -v /usr/share/zoneinfo/US/Eastern:/etc/localtime:ro kgrv/mini
Note
Only
shhas an interactive shellash.
docker run -it kgrv/mini
docker run -it -v $(pwd):/mnt kgrv/mini
Important
Argument
--useris not supported, please useEUID/EGID.
Note
Only applicable to
sh.
docker run -it -e EUID=$(id -u) -e EGID=$(id -g) kgrv/mini
Note
Only applicable to
sh.
docker run -it kgrv/mini --BECOME_ROOT
arcm A script to map different architecture keywords.
USAGE: arcm ARCH
ARGUMENTS:
ARCH returns ARCH when no match:
aarch64, arm64, x86_64, amd64
amd64-n, amd64-x
RETURNS:
arm64 <-> aarch64
amd64 <-> x86_64
amd64-n -> x64
amd64-x -> x86_64
Dockerfile...
RUN ARCH="$(arcm ${TARGETARCH})" && \
wget -nv "https://static.rust-lang.org/rustup/dist/${ARCH}-unknown-linux-musl/rustup-init" && \
...
enptImportant
Ensure that
root (0)user is executing the command.
DockerfileFROM kgrv/mini:sh AS develop
...
ENTRYPOINT [ "tini", "--", "enpt", "nreq" ]
CMD [ "--debug" ]
os-release mini 0.5.0
+ busybox 1.37.0
+ ca-certificates 20260413
+ mimalloc 3.3.0
+ su-exec 0.3
+ tini 369448a1
Build sh_2026-04-19T07:46:32Z (aarch64)
ansi-colors#!/bin/ash
set -euo pipefail
. ansi-colors
...
Content type
Image
Digest
sha256:0c5cb7d73…
Size
1.3 MB
Last updated
about 1 month ago
docker pull kgrv/mini