Difference between revisions of "Docker-compose start"
Jump to navigation
Jump to search
(10 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
{{Draft}} | {{Draft}} | ||
+ | {{lc}} | ||
+ | * https://docs.docker.com/engine/reference/commandline/compose_start/ | ||
− | + | <code>[[docker-compose start]]</code> | |
− | [[docker-compose up]], and docker-compose start will now start containers in parallel where possible. | + | <code>[[docker-compose up]]</code>, and <code>docker-compose start</code> will now start containers in parallel where possible. |
== Examples == | == Examples == | ||
+ | |||
+ | docker-compose your_service_name | ||
+ | (no output) | ||
docker-compose start | docker-compose start | ||
Line 12: | Line 17: | ||
Starting es02 ... failed | Starting es02 ... failed | ||
Starting es03 ... failed | Starting es03 ... failed | ||
− | ERROR: No containers to start | + | [[ERROR: No containers to start]] |
+ | Solution: [[docker-compose pull]] | ||
+ | |||
+ | docker-compose start | ||
+ | Starting mediawiki ... failed | ||
+ | Starting database ... failed | ||
+ | [[docker-compose]] start | ||
+ | ERROR: | ||
+ | Can't find a suitable configuration file in this directory or any | ||
+ | parent. Are you in the right directory? | ||
+ | |||
+ | Supported filenames: [[docker-compose.yml]], [[docker-compose.yaml]], [[compose.yml]], [[compose.yaml]] | ||
== Related commands == | == Related commands == | ||
Line 22: | Line 38: | ||
== See also == | == See also == | ||
* {{docker-compose}} | * {{docker-compose}} | ||
− | |||
[[Category:Docker]] | [[Category:Docker]] |
Latest revision as of 07:07, 16 February 2023
This article is a Draft. Help us to complete it.
docker-compose up
, and docker-compose start
will now start containers in parallel where possible.
Examples[edit]
docker-compose your_service_name (no output)
docker-compose start Starting es01 ... failed Starting es02 ... failed Starting es03 ... failed ERROR: No containers to start
Solution: docker-compose pull
docker-compose start Starting mediawiki ... failed Starting database ... failed
docker-compose start ERROR: Can't find a suitable configuration file in this directory or any parent. Are you in the right directory? Supported filenames: docker-compose.yml, docker-compose.yaml, compose.yml, compose.yaml
Related commands[edit]
docker-compose
: [start
|stop
|restart
|pull
|up
|down
|ps
]docker-compose up —-no-start
See also[edit]
docker-compose
,docker-compose.yml
: [services
|volumes
|networks
|up
|down
|restart
|logs
|create
|changelog
|version
|secrets
|config
|-v
|-h
|exec], docker-compose pull
,Environment:
, Docker-compose.yml examples,.env
, release notes, expose:
Advertising: