mirror of
https://github.com/docker/docs.git
synced 2026-04-03 17:59:01 +07:00
* Update docs on command help This is change is based on the output of the script proposed by @smola in: https://github.com/docker/docker.github.io/pull/11173 Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com> * Formatting updates * Minor style update Co-authored-by: Usha Mandya <47779042+usha-mandya@users.noreply.github.com>
26 lines
921 B
Markdown
26 lines
921 B
Markdown
---
|
|
description: Config validates and view the compose file.
|
|
keywords: fig, composition, compose, docker, orchestration, cli, config
|
|
title: docker-compose config
|
|
notoc: true
|
|
redirect_from:
|
|
- /compose/reference/bundle/
|
|
---
|
|
|
|
```none
|
|
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.
|