Our pipelines were working fine till ~9:40 today.
After that, self hosted runners and bb runners are with issues to build:
BB Runner:
+ docker build -t "$IMAGE" .
DEPRECATED: The legacy builder is deprecated and will be removed in a future release.
BuildKit is currently disabled; enable it by removing the DOCKER_BUILDKIT=0
environment-variable.
Cannot connect to the Docker daemon at tcp://localhost:2375. Is the docker daemon running?
------------------------------------------------------------------------
Self hosted runner:
Login Succeeded
#0 building with "default" instance using docker-container driver
#1 [internal] booting buildkit
#1 pulling image moby/buildkit:buildx-stable-1
#1 pulling image moby/buildkit:buildx-stable-1 4.7s done
#1 creating container buildx_buildkit_default 0.0s done
#1 ERROR: Error response from daemon: authorization denied by plugin pipelines: --privileged=true is not allowed
------
> [internal] booting buildkit:
------
WARNING: No output specified with docker-container driver. Build result will only remain in the build cache. To push result image into registry use --push or to load image into docker use --load
ERROR: Error response from daemon: authorization denied by plugin pipelines: --privileged=true is not allowed
35 v0.11.2 /usr/local/libexec/docker/cli-plugins/docker-buildx buildx build --target test --build-arg BITBUCKET_USERNAME=osprey-renovate-bot --build-arg APP_PASSWORD=$PIPELINE_APP_PASSWORD -f docker/app/Dockerfile . -t ums:rm-834
github.com/docker/docker/client.(*Client).checkResponseErr
github.com/docker/docker/client.(*Client).sendRequest
github.com/docker/docker/client.(*Client).ContainerCreate
github.com/docker/buildx/driver/docker-container.(*Driver).create.func3
github.com/docker/buildx/driver/docker-container.(*Driver).Bootstrap.func1
golang.org/x/sync/errgroup.(*Group).Go.func1
runtime.goexit
runtime/asm_amd64.s:1598
Any idea why this started ?
Hi everyone,
After exchanging with @Farha Atbai through Bitbucket's cloud support (thanks @Theodora Boudale for the link), here is the conclusion we came to:
1. If you are using an old version of docker-compose to interface with the docker daemon, you'll have to upgrade. I had to upgrade from `1.8.0-rc2` to `v2.24.5`
2. With this newer docker engine that Bitbucket rolled out, you have to disable the new "Docker Buildkit" system. Do so by adding the following to your pipelines, before executing anything docker related: `export DOCKER_BUILDKIT=0`
I hope this helps other users.
Tagging everyone else on this thread for visibility: @Ricardo José Brüggemann @Vegard Theriault @Chantal Delachevrotiere
Similar issue here
`cannot connect to the Docker daemon. Is 'docker daemon' running on this host?: dial tcp 127.0.0.1:2375: connect: connection refused`
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ricardo José and welcome to the community!
These errors may be related to an update we started rolling out, specifically an update to the Docker service and an upgraded version of the Docker client for running docker commands from 20.10.24 to 25.0.2:
I would suggest creating a ticket with the support team for further investigation and options regarding resolution.
You can create a ticket via https://support.atlassian.com/contact/#/, in "What can we help you with?" select "Technical issues and bugs" and then Bitbucket Cloud as product. When you are asked to provide the workspace URL, please make sure you enter the URL of the workspace that is on a paid billing plan to proceed with ticket creation.
Kind regards,
Theodora
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Theodora, will open a ticket there.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
We’re having the same issue
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Similar issue here. Our "docker-in-docker" builds broke overnight. Now, we're greeted with a "Couldn't connect to Docker daemon at http://localhost:2375 - is it running?" error every time we try calling `docker-compose build` :(
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.