---
title: "Discussion on \"Stop using Docker \"--link\" command 💢\" | Hashnode"
description: "Discussion on \"Stop using Docker \"--link\" command 💢\". What does \"--link\" do?\nWhen we have multiple containers running for our application stack then we might need them to be able to talk to each other and share data, one way to do it is by using \"--link <image name> : <host name>\" but this method is a l..."
url: "https://hashnode.com/posts/stop-using-docker-link-command/63c2f7820db072eaeefdeaa4"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Stop using Docker "--link" command 💢](https://rao.hashnode.dev/stop-using-docker-link-command?utm_source=hashnode&utm_medium=feed)

What does "--link" do? When we have multiple containers running for our application stack then we might need them to be able to talk to each other and share data, one way to do it is by using "--link <image name> : <host name>" but this method is a l...

Jan 14, 2023 · 2 min read · rao.hashnode.dev  
Read the article

-   [#devops](https://hashnode.com/tag/devops)
-   [#docker](https://hashnode.com/tag/docker)
-   [#yaml](https://hashnode.com/tag/yaml)
-   [#docker-compose](https://hashnode.com/tag/docker-compose)

## Written by

[Sahil rao](https://hashnode.com/@Sahilx9)

@Sahilx9

  
[View profile](https://hashnode.com/@Sahilx9)

Learning about development in different fields of computer science

## Responses 2

Markdown supported · ⌘↵ to post

[Saksham Awasthi](https://hashnode.com/@sakshamAwasthi)

[Jan 17, 2023](https://hashnode.com/posts/stop-using-docker-link-command/63c2f7820db072eaeefdeaa4/comment/63c641063fbd9f5a3338cf7f)

Proudly Prouded == Good

[Jan 14, 2023](https://hashnode.com/posts/stop-using-docker-link-command/63c2f7820db072eaeefdeaa4/comment/63c30363aa1ec52c81ed51e6)

:)
