[misc] drop debug output and log docker version on stderr

This commit is contained in:
Jakob Ackermann 2020-02-19 10:32:50 +00:00 committed by Jakob Ackermann
parent 697e1466dc
commit 5b1656b884

View file

@ -1,9 +1,6 @@
#!/bin/sh #!/bin/sh
echo "Changing permissions of /var/run/docker.sock for sibling containers" docker --version >&2
ls -al /var/run/docker.sock
docker --version
cat /etc/passwd
DOCKER_GROUP=$(stat -c '%g' /var/run/docker.sock) DOCKER_GROUP=$(stat -c '%g' /var/run/docker.sock)
groupadd --non-unique --gid ${DOCKER_GROUP} dockeronhost groupadd --non-unique --gid ${DOCKER_GROUP} dockeronhost