[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
echo "Changing permissions of /var/run/docker.sock for sibling containers"
ls -al /var/run/docker.sock
docker --version
cat /etc/passwd
docker --version >&2
DOCKER_GROUP=$(stat -c '%g' /var/run/docker.sock)
groupadd --non-unique --gid ${DOCKER_GROUP} dockeronhost