docker compose config --hash web

Category: Docker

docker compose config --hash web

Print the config hash of a service

Computes a hash of a service's resolved configuration, useful to detect when a service definition changes. Compare hashes across runs or machines to verify identical configs. The hash reflects merged and interpolated values, not raw YAML.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.