Skip to content

Commit 436725f

Browse files
authored
Update setup-docker.js
1 parent 50400dd commit 436725f

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

lib/setup-docker.js

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -333,6 +333,15 @@ system_profiler SPHardwareDataType || true
333333
core.warning(`Docker ${DOCKER_VERSION} not available on ubuntu ${OS}, will install latest docker version`);
334334
}
335335

336+
core.startGroup('remove default moby');
337+
await exec.exec('sudo', [
338+
'sh',
339+
'-c',
340+
"apt remove -y moby-buildx moby-cli moby-compose moby-containerd moby-engine moby-runc"
341+
]).catch(() => { });
342+
core.endGroup();
343+
344+
336345
message = 'install docker'
337346
core.debug(message);
338347
core.startGroup(message);

0 commit comments

Comments
 (0)