mirror of
https://github.com/docker/compose.git
synced 2025-07-21 12:44:54 +02:00
Update messages about docker stack deploy.
Signed-off-by: Daniel Nephin <dnephin@docker.com>
This commit is contained in:
parent
f5ad3e7577
commit
c26a2afaf3
@ -334,8 +334,8 @@ def load(config_details):
|
|||||||
if services_using_deploy:
|
if services_using_deploy:
|
||||||
log.warn(
|
log.warn(
|
||||||
"Some services ({}) use the 'deploy' key, which will be ignored. "
|
"Some services ({}) use the 'deploy' key, which will be ignored. "
|
||||||
"Compose does not support deploy configuration - use the experimental "
|
"Compose does not support deploy configuration - use "
|
||||||
"`docker deploy` command to deploy to a swarm."
|
"`docker stack deploy` to deploy to a swarm."
|
||||||
.format(", ".join(sorted(s['name'] for s in services_using_deploy))))
|
.format(", ".join(sorted(s['name'] for s in services_using_deploy))))
|
||||||
|
|
||||||
return Config(main_file.version, service_dicts, volumes, networks)
|
return Config(main_file.version, service_dicts, volumes, networks)
|
||||||
|
@ -559,9 +559,7 @@ def warn_for_swarm_mode(client):
|
|||||||
"Compose does not use swarm mode to deploy services to multiple nodes in a swarm. "
|
"Compose does not use swarm mode to deploy services to multiple nodes in a swarm. "
|
||||||
"All containers will be scheduled on the current node.\n\n"
|
"All containers will be scheduled on the current node.\n\n"
|
||||||
"To deploy your application across the swarm, "
|
"To deploy your application across the swarm, "
|
||||||
"use the bundle feature of the Docker experimental build.\n\n"
|
"use `docker stack deploy`.\n"
|
||||||
"More info:\n"
|
|
||||||
"https://docs.docker.com/compose/bundles\n"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user