Public Repository

Last pushed: 2 years ago
Short Description
Docker base images for Debian
Full Description

ABOUT

docker-debian is a collection of debootstrap-generated Debian base images.

SOURCE

https://github.com/mcandre/docker-debian

EXAMPLE

$ docker run --rm --privileged -v $(pwd):/mnt -t debian:sid sh -c 'apt-get update && apt-get install -y debootstrap && mkdir /chroot && debootstrap sid /chroot && cd /chroot && tar czvf /mnt/rootfs.tar.gz .'
...

$ docker build -t mcandre/docker-debian:latest .
Step 0 : FROM scratch
Step 1 : MAINTAINER Andrew Pennebaker <andrew.pennebaker@gmail.com>
Step 2 : ADD rootfs.tar.gz /
Successfully built 5ac6b04a4424

$ docker run --rm mcandre/docker-debian:latest sh -c 'cat /etc/*release*'
PRETTY_NAME="Debian GNU/Linux stretch/sid"
NAME="Debian GNU/Linux"
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support/"
BUG_REPORT_URL="https://bugs.debian.org/"
Docker Pull Command
Owner
mcandre