These images are almost identical to the official alpine
images at the Docker
hub, while being able to execute binaries that depend on glibc. This is made
possible through this wonderful glibc compatibility layer.
Hooks ensure that, for each build, identical copies to the current list of
available tags for the official alpine are automatically (re)built.
A self-contained and rather contrieved example would consist in running the
docker
command-line from a Ubuntu (or similar) host using this image. This
works by giving away the Docker socket together with the binary from the Ubuntu
host to the Alpine-based container and running the mapped binary from within
the container.
docker run \
--rm \
-v /var/run/docker.sock:/var/run/docker.sock:ro \
-v /usr/bin/docker:/usr/bin/docker:ro
yanzinetworks/alpine
docker ps
Using this technique allows to run docker
from any image based on this image,
much similarily to the official docker image.
The idea behind this image comes from this attempt to run grafana under an Alpine image.