I've run into a problem where a selfhosted runner, no longer works with docker commands.
I'm using a Linux runner, and adds docker with the services: docker in the bitbucket pipelines yml.
It worked back in version 1.364
<span>Runner matching labels:</span>
<span>- linux</span>
<span>- self.hosted</span>
<span>Runner name: Stat Migration Runner</span>
<span>Runner labels: statapi, self.hosted, linux</span>
<span>Runner version:</span>
<span>current: 1.364</span>
<span>latest: 1.364</span>
<span>where it uses a build and docker image:</span>
<span>Images used:</span>
<span>build: atlassian/default-image@sha256:5ce8190e86ba11a8e935735ad2059524b020a0a6f652ff4df614353329af0c07</span>
<span>docker: <a href="http://docker-public.packages.atlassian.com/sox/atlassian/bitbucket-pipelines-docker-daemon@sha256:10c58123e749b96c7a8b00d5a93e5d47b66d487c6595d02723bf3f14e23e1b78" rel="noopener nofollow noreferrer" target="_blank">docker-public.packages.atlassian.com/sox/atlassian/bitbucket-pipelines-docker-daemon@sha256:10c58123e749b96c7a8b00d5a93e5d47b66d487c6595d02723bf3f14e23e1b78</a></span>
<code><span>On the newest version 1.371 it doesn't use the docker image:<br><br></span><span>Runner matching labels:</span>
<span>- linux</span>
<span>- self.hosted</span>
<span>Runner name: Stat Migration Runner</span>
<span>Runner labels: statapi, self.hosted, linux</span>
<span>Runner version:</span>
<span>current: 1.371</span>
<span>latest: 1.371</span><span>Images used:</span>
<span>build: atlassian/default-image@sha256:5ce8190e86ba11a8e935735ad2059524b020a0a6f652ff4df614353329af0c07</span>
<span>docker: <a href="http://docker-public.packages.atlassian.com/sox/atlassian/bitbucket-pipelines-docker-daemon@sha256:40063c931c8ba57e7f2e00f8134748ff45424f4310e91a6c7179c0d13a608247" rel="noopener nofollow noreferrer" target="_blank">docker-public.packages.atlassian.com/sox/atlassian/bitbucket-pipelines-docker-daemon@sha256:40063c931c8ba57e7f2e00f8134748ff45424f4310e91a6c7179c0d13a608247</a></span>
<span>extract from pipelines yml: (apologies for formatting, not sure how to add code blocks or no-format blocks. )</span>pipelines:
branches:
'master':
- step:
name: 'Build and push'
script:
- docker version
services:
- docker
- step:
name: 'Database Migration'
runs-on:
- self.hosted
- linux
script:
- docker version
services:
- docker