How can I make connection between two services in docker swam?

How could I make connection between 2 services: MySQL & OCS in docker swarm the 2 services are in the same overlay network.

  • Kubernetes delete secret docker-registry error Unable to connect to the server: x509
  • tutum stackfile with relative volume path
  • Create multiple Docker machines at once with docker-machine
  • Dockers container source code mounting failed in Ubuntu
  • Secure Admin must be enabled to access the DAS remotely - Acess Glassfish Admin Console with Docker
  • Docker search command always lists empty result
  • docker windows 7 execute ipython tensorflow
  • Docker CPU percentage
  • CHEF provisioning: SystemStackError: stack level too deep
  • docker compose: rebuild of one linked container breaks nginx's upstream
  • Adding bind-mounts to the containers for running a task in concourse
  • Can docker containers share a directory amongst them
  • One Solution collect form web for “How can I make connection between two services in docker swam?”

    Just reference the other service by it’s service name with DNS. It should resolve.

    Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.