Sha256: c812d2bb105efaf8ad1895d8552a040e93420d98e94adabfafb1354b3b557212
Contents?: true
Size: 724 Bytes
Versions: 19
Compression:
Stored size: 724 Bytes
Contents
#!/bin/bash if [ -b "/dev/xvdc" ]; then docker-utils provision-volume "/dev/xvdc" "/var/lib/docker" fi if [ -b "/dev/xvdd" ]; then docker-utils provision-volume "/dev/xvdd" "/var/lib/docker/vfs/dir" fi if ! hash docker; then echo "installing docker..." echo 'deb http://get.docker.io/ubuntu docker main' > /etc/apt/sources.list.d/docker.list apt-key adv --keyserver 'hkp://pgp.mit.edu:80' --recv-keys '36A1D7869245C8950F966E92D8576A8BA88D21E9' apt-get update apt-get install -qy lxc-docker gpasswd -a ubuntu docker fi echo "logging into ${DOCKER_REGISTRY_URL}..." cat >"$HOME/.dockercfg" <<EOF {"${DOCKER_REGISTRY_URL}": { "auth": "${DOCKER_REGISTRY_AUTH}", "email": "${DOCKER_REGISTRY_EMAIL}" }} EOF
Version data entries
19 entries across 19 versions & 1 rubygems