Docker Community Forums

Share and learn in the Docker community.

Docker Cloud - link connectivity

(Meju) #1

Hi guys,

I have two questions.

  1. Can you suggest me how to provide service to linked containers and procedures for linking containers in docker-compose with an example?

  2. If I provide service to repository, the containers endpoint takes as tcp://. Why? Eg: tcp://

(Fernando Mayo) #2
  1. You can find information about Docker Cloud service discovery here:
  2. Do you refer to the environment variables that get injected? Or to the UI? The environment variables always prefix the endpoints with tcp://, and the UI prefixes them with tcp:// if the port number is not recognized.