diff --git a/src/compose/volume.ts b/src/compose/volume.ts index 976eb5077..da1392f3d 100644 --- a/src/compose/volume.ts +++ b/src/compose/volume.ts @@ -126,7 +126,7 @@ export class Volume { name: string; appId: number; } { - const match = name.match(/(\d+)_(\S+)/); + const match = name.match(/^(\d+)_(\S+)$/); if (match == null) { throw new InternalInconsistencyError( `Could not detect volume data from docker name: ${name}`,