Created
March 7, 2014 02:36
-
-
Save nobonobo/9404027 to your computer and use it in GitHub Desktop.
debootstrap to docker from scratch
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 debootstrap --components=main,universe,multiverse trusty trusty http://ja.archive.ubuntu.com/ubuntu/ | |
| $ sudo chroot trusty apt-get clean # remove cached packages | |
| $ sudo tar -C trusty -c . | docker import - nobonobo/trusty | |
| $ docker push nobonobo/trusty |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment