mirror of
https://github.com/docker/docs.git
synced 2026-04-12 06:19:22 +07:00
* Adds documentation about the `--ignore-override` option For PR https://github.com/docker/compose/pull/4543 When option `--ignore-override` is provided the `docker-compose.override.yml` file, if it exists, will not be considered for any command. This option has no effect when the `-f` option is used as that explicitly lists the set of files to be considered. Signed-off-by: Dennis Gove <dpgove@gmail.com> * Compose 1.12.0 additions (#2472) * Add mem_reservation to list of v2 options Signed-off-by: Joffrey F <joffrey@docker.com> * Add dns_opt to v2 service configuration Signed-off-by: Joffrey F <joffrey@docker.com> * Add pids_limit to service configurations Signed-off-by: Joffrey F <joffrey@docker.com> * Update list of options for docker-compose rm Signed-off-by: Joffrey F <joffrey@docker.com> * Update list of options for docker-compose config Signed-off-by: Joffrey F <joffrey@docker.com> * Add --exit-code-from to docker-compose up documentation Signed-off-by: Joffrey F <joffrey@docker.com> * Add --parallel to docker-compose pull reference Signed-off-by: Joffrey F <joffrey@docker.com> * Add build-args to docker-compose build reference Signed-off-by: Joffrey F <joffrey@docker.com> * Add --volume to docker-compose run reference Signed-off-by: Joffrey F <joffrey@docker.com> * Add --project-directory to list of docker-compose options Signed-off-by: Joffrey F <joffrey@docker.com> * Add reference docs for images command Signed-off-by: Joffrey F <joffrey@docker.com> * Add documentation for COMPOSE_PATH_SEPARATOR Signed-off-by: Joffrey F <joffrey@docker.com> * Add documentation for cache_from option Signed-off-by: Joffrey F <joffrey@docker.com>
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.
|