Skip to content

v1.10.0

Choose a tag to compare

@github-actions github-actions released this 02 Aug 13:13
· 18 commits to main since this release

Added

  • -l / --label on apply, status, update, start, stop, restart, and down to select containers by stack YAML labels: (kubectl-style). Supports KEY (exists), !KEY (absent), KEY=VALUE, KEY!=VALUE, comma-separated terms, and repeated flags (all AND). Documented in README and SPEC §5. Example: containerctl apply -l release,environment=production.

Fixed

  • env_file: relative paths and relative data_path are resolved against the stack file's directory (not the process CWD), so containerctl -f /path/to/stack.yaml finds env files and volume sources correctly from any working directory.
  • env_file: a single string is now accepted in addition to a list (Compose-compatible), e.g. env_file: secrets.env.
  • env_file parsing: surrounding quotes on values are stripped, optional export prefixes are accepted, and lines with a key but no = pass through the host environment when set (same as docker run --env-file).