From 8af65b6006abf6d91ed79701f93afcbe1c1322b1 Mon Sep 17 00:00:00 2001 From: Harm Weites Date: Thu, 6 Aug 2015 23:04:47 +0200 Subject: [PATCH] Start docker without -H to make chgrp work on socket This way the vagrant user can access the docker daemon socket. Closes-Bug: #1482381 Change-Id: Ic631a94c5b9665b9ec39be5c0454e4c1fa6a33b1 --- vagrant/bootstrap.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vagrant/bootstrap.sh b/vagrant/bootstrap.sh index 4a975198c2..9ef6928119 100644 --- a/vagrant/bootstrap.sh +++ b/vagrant/bootstrap.sh @@ -41,7 +41,7 @@ EOF # Despite it shipping with /etc/sysconfig/docker, Docker is not configured to # load it from it's service file. - sed -i -r 's,(ExecStart)=(.+),\1=\2 --insecure-registry operator.local:5000 --registry-mirror=http://operator.local:5000,' /usr/lib/systemd/system/docker.service + sed -i -r 's,(ExecStart)=(.+),\1=/usr/bin/docker -d --insecure-registry operator.local:5000 --registry-mirror=http://operator.local:5000,' /usr/lib/systemd/system/docker.service systemctl daemon-reload systemctl enable docker