docker/compose
Documented errors, page 2 of 3. Back to docker/compose
| Code / Message | Type | Severity | Tags |
|---|---|---|---|
| destination can not be empty | validation | error | cli, cp, validation, arguments |
| no label set on container of compose project | validation | warning | ls, labels, containers, state |
| the classic builder doesn't support SSH keys, set… | validation | error | build, buildkit, ssh, classic-builder |
| --wait-timeout must be a non-negative integer | validation | error | cli, up, flags, validation, timeout, compose |
| failed to parse env_file | exception | error | env-file, parsing, configuration |
| invalid scale specifier | validation | error | cli, scale, argument-parsing, compose |
| the classic builder doesn't support secrets, set… | validation | error | build, buildkit, secrets, classic-builder |
| interactive run is not supported in dry-run mode | validation | error | dry-run, interactive, run, tty |
| failed to create network | exception | error | network, docker-api, subnet, retryable |
| no available sync implementation | exception | error | watch, sync, environment, experimental |
| interactive exec is not supported in dry-run mode | exception | error | dry-run, exec, interactive |
| adding files to tar | exception | error | tar, sync, goroutine, io-pipe, go |
| invalid filter | validation | error | cli, ls, filter, validation |
| Docker Compose does not support configs.*.driver | validation | error | configs, compose-file, swarm, container-create |
| watch rules MUST define a path | validation | error | watch, develop, compose-file, validation |
| not found | error_code | error | api, sentinel-error, not-found |
| hook exited with status | exception | error | hooks, lifecycle, exec, exit-code |
| unable to get image | exception | error | images, inspect, daemon, registry |
| already exists | error_code | error | api, sentinel-error, conflict |
| not implemented | error_code | error | api, sentinel-error, not-implemented, ps |
| unsupported protocol for address | validation | error | network, unix-socket, named-pipe, validation, go |
| the classic builder doesn't support privileged mode, set… | validation | error | classic-builder, buildkit, privileged, build |
| unknown | error_code | error | api, sentinel-error, unknown |
| WARNING: The service is using the custom container name … | validation | error | scale, container-name, configuration, replicas |
| cannot share network namespace with service | exception | error | network-mode, namespaces, dependencies, convergence |
| failed to access repository at | exception | error | compose, git-remote, network, authentication |
| failed to load compose file | exception | error | compose, publish, extends, yaml, file-loading |
| forbidden | error_code | error | api, sentinel-error, authorization |
| finalizing | exception | error | tar, sync, io, go |
| none of the selected services is configured for watch… | validation | warning | compose, watch, develop, configuration |
| 'compose' is not a valid provider type | validation | error | provider, plugins, compose-file, validation |
| --force-recreate and --no-recreate are incompatible | validation | error | cli, up, flags, validation, recreate, compose |
| process still running | exception | error | watch, sync-exec, exec, container |
| service is not running | exception | error | containers, exec, not-running, service |
| --index requires one service to be selected | validation | error | cli, logs, flags, validation |
| application not healthy after | exception | error | compose, wait, healthcheck, timeout, dependencies |
| invalid ssh key | validation | error | build, ssh, cli, flag-parsing |
| must be an integer (found: ) | validation | error | environment, cli, configuration, validation |
| watcher.Add( ) | exception | error | go, docker-compose, watch, inotify, linux, resource-limits |
| could not find | exception | error | dependencies, compose-file, not-found |
| environment variable | validation | error | compose, secrets, environment, configuration |
| unsupported external config | validation | error | configs, compose-file, swarm-migration |
| invalid OCI artifact | validation | error | compose, oci, include, path-validation |
| archiving | exception | error | tar, sync, filesystem, go |
| your Compose stack cannot be published as it only contains… | validation | error | publish, registry, compose-file, validation |
| failed to service provider | exception | error | plugins, service-provider, process, crash |
| invalid indentation size | validation | error | cli, viz, flags, validation, compose |
| project name can't be empty. Use ProjectName option to set… | validation | error | project-name, loader, validation |
| network declared as external, but could not be found | exception | error | network, external-resources, compose-file |
| closing tar | exception | error | tar, sync, io-pipe, go |
| could not get created time for service's image | exception | error | compose, watch, container-not-found, docker-api |
| failed to list networks | exception | error | network, docker-api, teardown, retryable |
| failed to scan compose file | exception | error | compose, publish, secret-scanning, yaml |
| unsupported flag | error_code | error | api, sentinel-error, flags, backend |
| --build and --no-build are incompatible | validation | error | cli, up, flags, validation, build, compose |
| no port for container | validation | warning | port, networking, cli, ports |
| service is required by but is disabled. Can be enabled by… | validation | error | dependencies, profiles, compose-file |
| can't use --progress plain while ANSI support is forced | validation | error | cli, progress, ansi, flags, conflict |
| cannot share IPC namespace with service | exception | error | ipc, namespaces, dependencies, convergence |
| can't use --progress tty while ANSI support is disabled | validation | error | progress, ansi, tty, cli |
| invalid git subdirectory path | validation | error | compose, git-remote, windows, path-validation |
| inspecting | exception | error | filesystem, permissions, sync, tar, go |
| stashing env for | exception | error | otel, environment, tracing, go |
| walking | exception | error | filesystem, permissions, walk, sync, go |
| cannot share PID namespace with service | exception | error | pid, namespaces, dependencies, convergence |
| error unmarshalling available models | exception | error | models, json, plugin, schema |
| git subdirectory escapes base directory | validation | error | compose, git-remote, path-traversal, security |
| operation cancelled by user | exception | error | interactive, interpolation, environment, prompt, user-abort |
| 'models' support requires Docker Model plugin | exception | error | models, plugin, ai, environment |
| multiple networks with name | exception | error | network, ambiguity, external-resources |
| none of the selected services is configured for watch, see… | validation | warning | compose, watch, develop, configuration |
| parsing failed | error_code | error | api, sentinel-error, parsing |
| repository does not contain ref | exception | error | compose, git-remote, ref-not-found, include |
| copying | exception | error | filesystem, tar, sync, io, go |
| unsupported external secret | validation | error | secrets, compose-file, swarm-migration |
| Docker Compose does not support configs.*.template_driver | validation | error | configs, compose-file, swarm, container-create |
| Docker Compose does not support secrets.*.driver | validation | error | secrets, compose-file, swarm, container-create |
| can't watch service with action without a build context | validation | error | compose, watch, rebuild, build-context |
| git subdirectory path traversal detected | validation | error | compose, git-remote, path-traversal, security |
| attribute is mandatory to push an image for service | validation | error | compose, push, service-image, validation |
| required parameter is missing from provider definition | validation | error | plugins, provider, validation, compose-file |
| exit code | exception | error | compose, watch, exec, exit-code |
| failed to export container | exception | error | export, filesystem, validation |
| resolving symlink for | exception | error | compose, watch, x-develop, symlinks, filesystem |
| label must be set as KEY=VALUE | validation | error | cli, run, labels, flags, parsing |
| git subdirectory must be relative, got | validation | error | compose, git-remote, path-validation |
| invalid --scale option | validation | error | cli, scale, flags, validation, parsing |
| output option is required when exporting to terminal | validation | error | export, cli, stdout, validation |
| unsupported --progress value | validation | error | cli, progress, flags, validation |
| invalid --pull option | validation | error | cli, create, pull-policy, flags, validation |
| env file not found | validation | error | compose, publish, env-file, missing-file |
| --no-build and --watch are incompatible | validation | error | cli, up, flags, validation, watch, build, compose |
| Docker Compose does not support secrets.*.template_driver | validation | error | secrets, compose-file, swarm, container-create |
| failed to remove network | exception | error | network, teardown, docker-api |
| service pre_start[ ]: per_replica is not yet supported… | validation | error | pre-start, hooks, replicas, validation |
| invalid PID ( ): only positive PIDs are allowed | validation | error | pidfile, process, validation, go |
| invalid subnet | validation | error | network, ipam, validation, cidr |
| --tty and --no-tty can't be used together | validation | error | cli, run, tty, flags, conflict |
| unsupported format | validation | error | cli, config, format, flags, validation |
| service pre_start[ ] exited with code | exception | error | pre-start, hooks, exit-code, init |