diff options
| author | Harm Weites <harm@weites.com> | 2015-08-06 23:04:47 +0200 |
|---|---|---|
| committer | Harm Weites <harm@weites.com> | 2015-08-06 23:06:19 +0200 |
| commit | 8af65b6006abf6d91ed79701f93afcbe1c1322b1 (patch) | |
| tree | 7a6a2415dbb61e10900b70d2ae7399a466e39ddd | |
| parent | 045249109fe2f1d53b2980a45732970475d76713 (diff) | |
| download | kolla-8af65b6006abf6d91ed79701f93afcbe1c1322b1.tar.gz kolla-8af65b6006abf6d91ed79701f93afcbe1c1322b1.zip | |
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
| -rw-r--r-- | vagrant/bootstrap.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vagrant/bootstrap.sh b/vagrant/bootstrap.sh index 4a975198c..9ef692811 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 |
