compose/pkg
Nicolas De Loof f5efe67ea3 feat(api): a typed error for a service with no running container
Exec, port, export, commit and attach fail with "service X is not running"
when they find no container to act on. A program driving Compose as a library
could only recognise that failure by matching the message.

Return a ServiceNotRunningError, which matches the new ErrNotRunning and
carries the service and the replica index. The message is unchanged.

Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2026-11-16 17:01:39 +01:00
..
api feat(api): a typed error for a service with no running container 2026-11-16 17:01:39 +01:00
bridge refactor(compose): share the label filter builders 2026-10-29 11:59:43 +01:00
compose feat(api): a typed error for a service with no running container 2026-11-16 17:01:39 +01:00
dryrun feat(registry): use the Docker Desktop Hub session for Docker Hub credentials 2026-10-07 14:24:28 +02:00
mocks refactor(api): regenerate mocks for the split Compose interfaces 2026-10-12 12:03:29 +02:00
remote fix(oci): tell a null "manifests" from a list, and report a host failure as such 2026-11-12 10:43:27 +01:00
utils
watch golangci-lint: enable perfsprint linter 2026-09-10 10:25:34 +02:00