Created
May 16, 2014 14:05
-
-
Save willgarcia/948906412c86158a0012 to your computer and use it in GitHub Desktop.
docker
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
| # installation centos | |
| http://www.liquidweb.com/kb/how-to-install-docker-on-centos-6/ | |
| # registry docker | |
| git clone https://github.com/dotcloud/docker-registry.git | |
| cd docker-registry | |
| cp config_sample.yml config.yml | |
| pip install -r requirements.txt | |
| gunicorn --access-logfile - --log-level debug --debug \ | |
| -b 0.0.0.0:5000 -w 1 wsgi:application | |
| # daemon | |
| sudo docker -d -dns=10.0.1.19 | |
| # accès ssh | |
| docker run -i -t [nom-image] /bin/bash | |
| # build an image from iso | |
| yum update kernel | |
| + | |
| http://blog.denevell.org/unix-debian-docker-install.html | |
| + | |
| http://blog.grid-it.nl/index.php/2014/05/10/creating-an-oracle-enterprise-linux-6-base-image-for-docker/ | |
| # clean containers | |
| docker rm `docker ps --no-trunc -a -q` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment