Update _index.md (#20572)

I've noticed that the --all-resources option appears in the docker compose --help output, but it isn't mentioned in the official Docker documentation.
This commit is contained in:
Parsa 2024-08-12 11:19:32 +03:30 committed by GitHub
parent 513d90e4f2
commit d38ed68e04
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 11 additions and 9 deletions

View File

@ -16,9 +16,10 @@ command line.
```text
Usage: docker compose [OPTIONS] COMMAND
Define and run multi-container applications with Docker.
Define and run multi-container applications with Docker
Options:
--all-resources Include all resources, even those not used by services
--ansi string Control when to print ANSI control characters ("never"|"always"|"auto") (default "auto")
--compatibility Run compose in backward compatibility mode
--dry-run Execute command in dry run mode
@ -32,26 +33,26 @@ Options:
-p, --project-name string Project name
Commands:
attach Attach local standard input, output, and error streams to a service's running container.
attach Attach local standard input, output, and error streams to a service's running container
build Build or rebuild services
config Parse, resolve and render compose file in canonical format
cp Copy files/folders between a service container and the local filesystem
create Creates containers for a service.
create Creates containers for a service
down Stop and remove containers, networks
events Receive real time events from containers.
exec Execute a command in a running container.
events Receive real time events from containers
exec Execute a command in a running container
images List images used by the created containers
kill Force stop service containers.
kill Force stop service containers
logs View output from containers
ls List running compose projects
pause Pause services
port Print the public port for a port binding.
port Print the public port for a port binding
ps List containers
pull Pull service images
push Push service images
restart Restart service containers
rm Removes stopped service containers
run Run a one-off command on a service.
run Run a one-off command on a service
scale Scale services
start Start services
stats Display a live stream of container(s) resource usage statistics
@ -63,6 +64,7 @@ Commands:
wait Block until the first service container stops
watch Watch build context for service and rebuild/refresh containers when files are updated
Run 'docker compose COMMAND --help' for more information on a command.
```