mirror of https://github.com/docker/docs.git
20 lines
563 B
Markdown
20 lines
563 B
Markdown
---
|
|
description: Config validates and view the compose file.
|
|
keywords: fig, composition, compose, docker, orchestration, cli, config
|
|
title: docker-compose config
|
|
notoc: true
|
|
---
|
|
|
|
```:
|
|
Usage: config [options]
|
|
|
|
Options:
|
|
--resolve-image-digests Pin image tags to digests.
|
|
-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.
|
|
```
|
|
|
|
Validate and view the compose file.
|