You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The --link flag is a legacy feature of Docker. It may eventually be removed. Unless you absolutely need to continue using it, we recommend that you use user-defined networks to facilitate communication between two containers instead of using --link.
We currently use links in docker-compose.yml to allow containers to discover each other using their names when using the default Docker network bridge, but we can achieve the same thing by using "user-defined networks".
The text was updated successfully, but these errors were encountered:
The Docker documentation says that links are deprecated:
We currently use links in
docker-compose.yml
to allow containers to discover each other using their names when using the default Docker network bridge, but we can achieve the same thing by using "user-defined networks".The text was updated successfully, but these errors were encountered: