Skip to content

Automated Dependency Updates for Docker Compose

Categories: docker

Renovate supports updating Docker Compose dependencies.

File Matching

By default, Renovate will check any files matching the following regular expression: (^|/)(?:docker-)?compose[^/]*\.ya?ml$.

For details on how to extend a manager's fileMatch value, please follow this link.

Supported datasources

This manager supports extracting the following datasources: docker.

Default config

{
  "fileMatch": [
    "(^|/)(?:docker-)?compose[^/]*\\.ya?ml$"
  ]
}

Additional Information

Extracts all Docker images from with Docker Compose YAML files.

If you need to change the versioning format, read the versioning documentation to learn more.

Open items

The below list of features and bugs were current when this page was generated on October 12, 2024.

Feature requests

  • Support docker-compose.yml versions from .env files #31685
  • Support build.cache_from in docker-compose manager #18366

Bug reports

  • not updating docker image in docker-compose with build context defined #14102