Skip to content

Latest commit

 

History

History
24 lines (21 loc) · 888 Bytes

config.md

File metadata and controls

24 lines (21 loc) · 888 Bytes
description keywords title notoc redirect_from
Config validates and view the compose file.
fig, composition, compose, docker, orchestration, cli, config
docker-compose config
true
/compose/reference/bundle/
Usage: config [options]

Options:
    --resolve-image-digests  Pin image tags to digests.
    --no-interpolate         Don't interpolate environment variables.
    -q, --quiet              Only validate the configuration, don't print anything.
    --services               Print the service names, one per line.
    --volumes                Print the volume names, one per line.
    --hash="*"               Print the service config hash, one per line.
                             Set "service1,service2" for a list of specified services
                             or use the wildcard symbol to display all services.

Validate and view the Compose file.