Skip to content
🦋 Container image template
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
rootfs/etc
Dockerfile.glibc
Dockerfile.musl
LICENSE
README.md

README.md

container-image

A container image template for How to write great container images

Tags

Docker Hub

Available on Docker Hub as ...:

Quay

Available on Quay as:

Features

  • Super tiny (glibc-based is ~...MB and musl-based is ~...MB)
  • Compiled from source during build time
  • Built FROM scratch, see Filesystem for an exhaustive list of the image's contents
  • Reduced attack surface (no shell, no UNIX tools, no package manager...)
  • Built with binary exploit mitigations enabled

Configuration

Volumes

  • Bind your ... at /....

Building

  • To build the glibc-based image: $ docker build -t ...:glibc -f Dockerfile.glibc .
  • To build the musl-based image: $ docker build -t ...:musl -f Dockerfile.musl .

Filesystem

The images' contents are:

glibc

Based on the glibc implementation of libc. Dynamically linked.

/

musl

Based on the musl implementation of libc. Statically linked.

/

License

See LICENSE.

You can’t perform that action at this time.