Are Docker links deprecated?

When reading about linking containers together they now call it legacy links e.g. here.

This article claims links got deprecated in Docker 1.9, but the release notes doesn’t mention this and the list of deprecated features doesn’t mention it either.

  • fabric8 docker-maven-plugin capAdd fails with “unknown capability to add”
  • Copy multiple directories with one command
  • gcc: command not found
  • Unable to install Docker for Windows for the Divio App
  • Binding an IP address to a container port on docker for windows
  • How to investigate the differences between two Docker images of Ubuntu?
  • Question

    Why does Docker now call links for legacy links? And should I stop use them?

  • How to import CSV data into elasticsearch using docker?
  • install nvm in docker
  • How to Access AWS EC2 docker tomcat instance running inside jenkins docker instance from my local browser
  • How to force docker for clean build of an image?
  • How to open Ubuntu GUI inside docker image
  • Can I somehow see my Docker Hub images being built via Github hooks?
  • One Solution collect form web for “Are Docker links deprecated?”

    Docker networking is being promoted as successor – https://docs.docker.com/engine/userguide/networking/

    Before the Docker network feature, you could use the Docker link feature to allow containers to discover each other. With the introduction of Docker networks, containers can be discovered by its name automatically.

    On whether you should stop using them – yes. The docker world is currently moving very fast, and links has been “legacy” for a few releases now.

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