Skip to content

Commit

Permalink
fix(test-stage-template): run dockerd under docker-init
Browse files Browse the repository at this point in the history
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 <oleksandr.miliukov@northern.tech>
  • Loading branch information
0lmi committed Jan 4, 2023
1 parent 622d94f commit f6e57ed
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion gitlab-pipeline/stage/test.yml
Expand Up @@ -201,7 +201,11 @@ test:backend-integration:azblob:enterprise:
- apk --update add curl jq sysstat hdparm

# Start dockerd in the background
- /usr/local/bin/dockerd &
# The entrypoint script additionally uses docker-init as workarround of known
# containerd issue - https://github.com/docker-library/docker/issues/318
- export TINI_SUBREAPER=true
- /bin/sh -c "/usr/local/bin/dockerd-entrypoint.sh &"

# Wait for dockerd to start
- |-
MAX_WAIT=30
Expand Down

0 comments on commit f6e57ed

Please sign in to comment.