This repository has been archived by the owner on Oct 22, 2023. It is now read-only.
Batect v0.80.0 unable to start on Alpine Linux #1335
Labels
cause:issue with dependency
frozen
Issue should not be marked as stale
is:bug
priority:high
state:blocked
Describe the bug
When running any Batect task as part of our GitLab-CI build pipeline after upgrading to Batect v0.80.0, we run into the following issue:
When reverting back to earlier versions of Batect (for example v0.78.0) this issue goes away:
Our GitLab runners use the Kubernetes executor to schedule/run builds, coupled with the Docker in Docker service (docker:20.10.8-dind) for spinning up containers as part of our build, and use Alpine v3.14.0 as the base image for the sub agents/runners.
Reproduction repo
No response
Steps to reproduce
docker:20.10.8-dind
.I haven't had time to properly investigate yet, but because the issue appears to be around the initial connection with the Docker Daemon, it might be easier to recreate this issue by trying to run the task inside of a Alpine/Docker in Docker image (https://hub.docker.com/r/yobasystems/alpine-docker/ for example) to see if the issue occurs as well.
Expected behaviour
The task is run successfully (as it was prior to upgrading to Batect v0.80.0)
For example on v0.78.0:
Actual behaviour
The task fails to start as Batect appears to be unable to initiate a connection with the Docker Daemon, see the failure below when executing a task using Batect v0.80.0:
Version information
Any other information
I am aware that the steps to recreate aren't exactly thorough (I wasn't sure how brief to keep it all considering the requirement of a GitLab pipeline/infrastructure for anyone else to recreate the exact environment/setup), so if there is anything additional information I can provide, or things I can try, please let me know.
The text was updated successfully, but these errors were encountered: