Skip to content

Instantly share code, notes, and snippets.

@willgarcia
Created May 16, 2014 14:05
Show Gist options
  • Select an option

  • Save willgarcia/948906412c86158a0012 to your computer and use it in GitHub Desktop.

Select an option

Save willgarcia/948906412c86158a0012 to your computer and use it in GitHub Desktop.
docker
# 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