diff --git a/src/docker/install.ts b/src/docker/install.ts index 0c0203d..10d3b7b 100644 --- a/src/docker/install.ts +++ b/src/docker/install.ts @@ -170,7 +170,11 @@ export class Install { if (this.rootless) { core.info(`Downloading Docker rootless extras ${version} from ${this.source.channel} at download.docker.com`); const extrasFolder = await this.downloadStaticArchive('docker-rootless-extras', this.source); - fs.copyFileSync(path.join(extrasFolder, 'dockerd-rootless.sh'), path.join(extractFolder, 'dockerd-rootless.sh')); + fs.readdirSync(extrasFolder).forEach(file => { + const src = path.join(extrasFolder, file); + const dest = path.join(extractFolder, file); + fs.copyFileSync(src, dest); + }); } break; }