Created
May 2, 2014 16:49
-
-
Save kozo2/99ed8e17b64f38148abd to your computer and use it in GitHub Desktop.
gentoo docker container (on ubuntu trusty64)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo su | |
apt-get install docker.io | |
cd | |
mkdir gentoo | |
cd gentoo | |
wget http://ftp.jaist.ac.jp/pub/Linux/Gentoo/releases/amd64/current-iso/stage3-amd64-20140403.tar.bz2 | |
tar jxpf stage3-amd64-20140403.tar.bz2 | |
tar -c . | docker.io import - gentoo | |
docker.io run -t -i gentoo /bin/bash |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
docker import can take an archive (see docker.io import --help)