7,540
edits
Changes
Docker
,→swarm
Links also express dependency between services in the same way as depends_on, so they determine the order of service startup.
<span style="color: red>Note: If you define both links and networks, services with links between them must share at least one network in common in order to communicate.</span>
=== swarm ===
* '''deploy''': This only takes effect when deploying to a swarm with docker stack deploy, and is ignored by docker-compose up and docker-compose run.