Skip to content

Commit f204b8c

Browse files
author
Alex Miliukov
committed
fix(test-stage-template): run dockerd under docker-init
dockerd might fail from time to time which looks related to the known issue docker-library/docker#318 and using docker-init is the workaround used by the community Changelog: None Ticket: QA-508 Signed-off-by: Alex Miliukov <[email protected]>
1 parent 40a8681 commit f204b8c

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

gitlab-pipeline/stage/test.yml

+5-1
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,11 @@ test:backend-integration:azblob:enterprise:
201201
- apk --update add curl jq sysstat hdparm
202202

203203
# Start dockerd in the background
204-
- /usr/local/bin/dockerd &
204+
# The entrypoint script additionally uses docker-init as workarround of known
205+
# containerd issue - https://github.com/docker-library/docker/issues/318
206+
- export TINI_SUBREAPER=true # https://github.com/krallin/tini#subreaping
207+
- /bin/sh -c "/usr/local/bin/dockerd-entrypoint.sh &"
208+
205209
# Wait for dockerd to start
206210
- |-
207211
MAX_WAIT=30

0 commit comments

Comments
 (0)