Home
Recent Q&A
Java
Cloud
JavaScript
Python
SQL
PHP
HTML
C++
Data Science
DBMS
Devops
Hadoop
Machine Learning
Azure
Blockchain
Devops
Ask a Question
How to link containers in Dockers?
Home
DevOps
How to link containers in Dockers?
+1
vote
asked
Aug 15, 2020
in
DevOps
by
RShastri
Q. How to link containers in Dockers
#docker
Please
log in
or
register
to answer this question.
1
Answer
0
votes
answered
Aug 15, 2020
by
RShastri
The simplest way is to use network port mapping. There’s also the
- -link
flag which is deprecated.
Your comment on this answer:
Email me at this address if a comment is added after mine:
Email me if a comment is added after mine
Privacy: Your email address will only be used for sending these notifications.
Related questions
+1
vote
Q: How do I transfer a Docker image from one machine to another one without using a repository, no matter private or public?How do I transfer a Docker image from one machine to another one without using a repository, no matter private or public?
asked
Aug 15, 2020
in
DevOps
by
RShastri
#docker
0
votes
Q: How to build envrionment-agnostic systems with Docker?
asked
Aug 15, 2020
in
DevOps
by
RShastri
#docker
+1
vote
Q: Is there a way to identify the status of a Docker container?
asked
Aug 15, 2020
in
DevOps
by
RShastri
#docker
0
votes
Q: What are the most common instructions in Dockerfile?
asked
Aug 15, 2020
in
DevOps
by
RShastri
#docker
+1
vote
Q: What is Build Cache in Docker?
asked
Aug 15, 2020
in
DevOps
by
RShastri
#docker
+1
vote
Q: What are the various states that a Docker container can be in at any given point in time?
asked
Aug 15, 2020
in
DevOps
by
RShastri
#docker
0
votes
Q: What is Docker container?
asked
Aug 15, 2020
in
DevOps
by
RShastri
#docker
+2
votes
Q: What is Docker image?
asked
Aug 15, 2020
in
DevOps
by
RShastri
#docker
docker-image
image
devops
+1
vote
Q: What is the difference between the `COPY` and `ADD` commands in a Dockerfile?
asked
Aug 15, 2020
in
DevOps
by
RShastri
#docker
0
votes
Q: When would you use ‘docker kill’ or ‘docker rm -f’?
asked
Aug 15, 2020
in
DevOps
by
RShastri
#docker
...