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

Version Path
docker-utils-0.1.33 ./share/scripts/bootstrap
docker-utils-0.1.32 ./share/scripts/bootstrap
docker-utils-0.1.31 ./share/scripts/bootstrap
docker-utils-0.1.30 ./share/scripts/bootstrap
docker-utils-0.1.29 ./share/scripts/bootstrap
docker-utils-0.1.27 ./share/scripts/bootstrap
docker-utils-0.1.26 ./share/scripts/bootstrap
docker-utils-0.1.25 ./share/scripts/bootstrap
docker-utils-0.1.24 ./share/scripts/bootstrap
docker-utils-0.1.23 ./share/scripts/bootstrap
docker-utils-0.1.22 ./share/scripts/bootstrap
docker-utils-0.1.21 ./share/scripts/bootstrap
docker-utils-0.1.20 ./share/scripts/bootstrap
docker-utils-0.1.19 ./share/scripts/bootstrap
docker-utils-0.1.18 ./share/scripts/bootstrap
docker-utils-0.1.17 ./share/scripts/bootstrap
docker-utils-0.1.16 ./share/scripts/bootstrap
docker-utils-0.1.15 ./share/scripts/bootstrap
docker-utils-0.1.14 ./share/scripts/bootstrap