Public Repository

Last pushed: 5 months ago
Short Description
Raw debootstraped debian
Full Description
$ uname -a
Linux debian-9 4.9.0-3-amd64 #1 SMP Debian 4.9.30-2 (2017-06-12) x86_64 GNU/Linux
$ cat /etc/debian_version
9.0
$ # setup docker https://docs.docker.com/engine/installation/linux/debian/
$ sudo apt-get update
$ sudo apt-get install -y \
       apt-transport-https \
       ca-certificates \
       curl \
       gnupg2 \
       software-properties-common
$ curl -fsSL https://download.docker.com/linux/debian/gpg | sudo apt-key add -
$ sudo add-apt-repository \
     "deb [arch=amd64] https://download.docker.com/linux/debian \
     $(lsb_release -cs) \
     stable"
$ sudo apt-get update
$ sudo apt-get install -y docker-ce
$ # make raw image
$ sudo apt-get install -y git debootstrap
$ git clone --depth 1 https://github.com/moby/moby.git
$ sudo moby/contrib/mkimage.sh --dir debian-image --tag niku/debian debootstrap --variant=minbase stretch http://ftp.jp.debian.org/debian
$ sudo docker login --username="niku" --password="[MY PASSWORD HERE]"
Docker Pull Command
Owner
niku