diff --git a/lib/utils/device/ssh.ts b/lib/utils/device/ssh.ts index 0ea9436a..04aeb640 100644 --- a/lib/utils/device/ssh.ts +++ b/lib/utils/device/ssh.ts @@ -50,7 +50,7 @@ export async function performLocalDeviceSSH( }); const regex = new RegExp(`(^|\\/)${escapeRegExp(opts.service)}_\\d+_\\d+`); - const nameRegex = /\/?([a-zA-Z0-9_]+)_\d+_\d+/; + const nameRegex = /\/?([a-zA-Z0-9_-]+)_\d+_\d+/; let allContainers: ContainerInfo[]; try { allContainers = await docker.listContainers();