Docker: 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.

Leave a Comment