[misc] drop debug output and log docker version on stderr
This commit is contained in:
committed by
Jakob Ackermann
parent
54ce1373af
commit
b69ea2f83f
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user