Only use overlay driver in CI

Signed-off-by: Aanand Prasad <aanand.prasad@gmail.com>
This commit is contained in:
Aanand Prasad 2015-08-12 15:36:10 +01:00
commit bcb977425b
3 changed files with 5 additions and 1 deletions

View file

@ -7,7 +7,9 @@ fi
# If a pidfile is still around (for example after a container restart),
# delete it so that docker can start.
rm -rf /var/run/docker.pid
docker -d --storage-driver="overlay" &>/var/log/docker.log &
docker_command="docker -d $DOCKER_DAEMON_ARGS"
>&2 echo "Starting Docker with: $docker_command"
$docker_command &>/var/log/docker.log &
docker_pid=$!
>&2 echo "Waiting for Docker to start..."