Skip to content

Commit b27c816

Browse files
author
Matthew Fisher
authored
fix(boot): change group ownership of docker socket to deis (#804)
on some providers, the docker socket is owned by the root group. We want it to be owned by deis so the controller can connect to the socket.
1 parent 9676178 commit b27c816

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

rootfs/bin/boot

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@ python --version
1616
mkdir -p /app/data/logs
1717
chmod -R 777 /app/data/logs
1818

19+
# HACK(bacongobbler): explicitly add the docker socket to the deis group
20+
chgrp deis /var/run/docker.sock
21+
1922
# allow deis user group permission to Docker socket
2023
groupadd -g "$(stat -c "%g" /var/run/docker.sock)" docker || true
2124
usermod -a -G docker deis || true

0 commit comments

Comments
 (0)