Created
April 10, 2015 05:46
-
-
Save lalyos/db1fd14d0297fd38291d to your computer and use it in GitHub Desktop.
install docker on openstack centos
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
curl -LO http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm | |
rpm -Uvh epel-release-6*.rpm | |
yum install -y device-mapper docker-io yum-utils | |
yum-config-manager --enable epel | |
# upgrade docker to 1.5.0 | |
curl -Lo /usr/bin/docker http://get.docker.io/builds/Linux/x86_64/docker-1.5.0 && chmod +x /usr/bin/docker | |
# attach volume with docker images | |
mount /dev/vdb /var/lib/docker/ | |
service docker start | |
chkconfig docker on | |
# fixing images tags | |
for img in sequenceiq/alpine-dev:3.1 progrium/ambassadord:latest alpine:latest sequenceiq/uluwatu-bin:0.1.415 sequenceiq/cloudbreak:0.3.92 sequenceiq/periscope:0.1.36 sequenceiq/consul:v0.5.0-v3 sequenceiq/sultans:0.1.61 sequenceiq/uaa:1.8.1-v1 gliderlabs/registrator:v5 postgres:9.4.0; do | |
docker pull $img | |
docker tag $img ${img%:*}:latest | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment