aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosh Spicer <joshspicer@github.com>2023-06-29 01:04:38 +0300
committerJosh Spicer <joshspicer@github.com>2023-06-29 01:04:38 +0300
commit4a4d289551557ad944f4db1cb9b9fe6e666368dd (patch)
treedf25db84f3397ad4d5c6f2b5dab3d5813b58658c
parent72a0981209bd868f6a924729f8a6f35b00bcefce (diff)
update comments
-rwxr-xr-xsrc/docker-in-docker/install.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/docker-in-docker/install.sh b/src/docker-in-docker/install.sh
index 1058cfb..b4c9bd2 100755
--- a/src/docker-in-docker/install.sh
+++ b/src/docker-in-docker/install.sh
@@ -353,7 +353,7 @@ dockerd_start="AZURE_DNS_AUTO_DETECTION=${AZURE_DNS_AUTO_DETECTION} DOCKER_DEFAU
find /run /var/run -iname 'docker*.pid' -delete || :
find /run /var/run -iname 'container*.pid' -delete || :
- ## Dind wrapper script from docker team, adapted to a function
+ # -- Start: dind wrapper script --
# Maintained: https://github.com/moby/moby/blob/master/hack/dind
export container=docker
@@ -362,6 +362,8 @@ dockerd_start="AZURE_DNS_AUTO_DETECTION=${AZURE_DNS_AUTO_DETECTION} DOCKER_DEFAU
mount -t securityfs none /sys/kernel/security || {
echo >&2 'Could not mount /sys/kernel/security.'
echo >&2 'AppArmor detection and --privileged mode might break.'
+ echo >&2 ""
+ echo >&2 'Please confirm passing --privileged flag!'
}
fi
@@ -381,7 +383,7 @@ dockerd_start="AZURE_DNS_AUTO_DETECTION=${AZURE_DNS_AUTO_DETECTION} DOCKER_DEFAU
sed -e 's/ / +/g' -e 's/^/+/' < /sys/fs/cgroup/cgroup.controllers \
> /sys/fs/cgroup/cgroup.subtree_control
fi
- ## Dind wrapper over.
+ # -- End: dind wrapper script --
# Handle DNS
set +e