Skip to content

Commit c1af76e

Browse files
committed
Convert over to invoking "dockerd" directly instead of relying on the "docker daemon" translation
1 parent 7aa05fd commit c1af76e

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

1.12/dind/dockerd-entrypoint.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@ set -e
55
# or first arg is `-f` or `--some-option`
66
if [ "$#" -eq 0 -o "${1#-}" != "$1" ]; then
77
# add our default arguments
8-
set -- docker daemon \
8+
set -- dockerd \
99
--host=unix:///var/run/docker.sock \
1010
--host=tcp://0.0.0.0:2375 \
1111
--storage-driver=vfs \
1212
"$@"
1313
fi
1414

15-
if [ "$1" = 'docker' -a "$2" = 'daemon' ]; then
15+
if [ "$1" = 'dockerd' ]; then
1616
# if we're running Docker, let's pipe through dind
1717
# (and we'll run dind explicitly with "sh" since its shebang is /bin/bash)
1818
set -- sh "$(which dind)" "$@"

1.12/experimental/dind/dockerd-entrypoint.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@ set -e
55
# or first arg is `-f` or `--some-option`
66
if [ "$#" -eq 0 -o "${1#-}" != "$1" ]; then
77
# add our default arguments
8-
set -- docker daemon \
8+
set -- dockerd \
99
--host=unix:///var/run/docker.sock \
1010
--host=tcp://0.0.0.0:2375 \
1111
--storage-driver=vfs \
1212
"$@"
1313
fi
1414

15-
if [ "$1" = 'docker' -a "$2" = 'daemon' ]; then
15+
if [ "$1" = 'dockerd' ]; then
1616
# if we're running Docker, let's pipe through dind
1717
# (and we'll run dind explicitly with "sh" since its shebang is /bin/bash)
1818
set -- sh "$(which dind)" "$@"

1.13-rc/dind/dockerd-entrypoint.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@ set -e
55
# or first arg is `-f` or `--some-option`
66
if [ "$#" -eq 0 -o "${1#-}" != "$1" ]; then
77
# add our default arguments
8-
set -- docker daemon \
8+
set -- dockerd \
99
--host=unix:///var/run/docker.sock \
1010
--host=tcp://0.0.0.0:2375 \
1111
--storage-driver=vfs \
1212
"$@"
1313
fi
1414

15-
if [ "$1" = 'docker' -a "$2" = 'daemon' ]; then
15+
if [ "$1" = 'dockerd' ]; then
1616
# if we're running Docker, let's pipe through dind
1717
# (and we'll run dind explicitly with "sh" since its shebang is /bin/bash)
1818
set -- sh "$(which dind)" "$@"

0 commit comments

Comments
 (0)