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
This commit is contained in:
parent
045249109f
commit
8af65b6006
@ -41,7 +41,7 @@ EOF
|
|||||||
|
|
||||||
# Despite it shipping with /etc/sysconfig/docker, Docker is not configured to
|
# Despite it shipping with /etc/sysconfig/docker, Docker is not configured to
|
||||||
# load it from it's service file.
|
# 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 daemon-reload
|
||||||
systemctl enable docker
|
systemctl enable docker
|
||||||
|
Loading…
x
Reference in New Issue
Block a user