Files
floci/src/test
Hector Ventura d819c00dbf fix(docker): label containers and volumes per emulator (#2341)
Every container and volume the emulator creates now carries `floci=true`,
`floci_emulator=floci-aws`, and `floci_namespace=<value>` when
`docker.resource-namespace` is configured.

Previously only volumes were labelled, with a bare `floci=true`. That key is
shared by floci-aws, floci-gcp and floci-az, so
`docker volume prune --filter label=floci=true` destroyed volumes belonging to
all three emulators at once. `floci_emulator` discriminates between them, while
`floci=true` still prunes everything when that is what you want.

Labels are applied at the single `createContainerCmd` choke point in
`ContainerLifecycleManager`, with per-spec labels layered over the defaults via
`ContainerBuilder.withLabel`/`withLabels` (a spec label wins on key conflict),
so every service is covered by construction rather than per call site. Volume
prefix renames and persisted volume names are deliberately out of scope.
2026-08-15 21:17:33 -05:00
..