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 can you connect a container to a network when it starts?
Home
DevOps
How can you connect a container to a network when it starts?
0
votes
asked
Dec 1, 2019
in
DevOps
by
SakshiSharma
How can you connect a container to a network when it starts?
#network-container
Please
log in
or
register
to answer this question.
1
Answer
0
votes
answered
Dec 1, 2019
by
rajeshsharma
We need to use a following command
docker run -itd –network=multi-host-network busybox
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
0
votes
Q: What is the command to connect a container to a network?What is the command to connect a container to a network?
asked
Mar 9, 2020
in
DevOps
by
Hodge
0
votes
Q: You have been working from home on your laptop. What do you need to do when you connect to the Company network?
asked
Aug 18, 2023
in
iSecurity
by
sharadyadav1986
information-security
0
votes
Q: Can you lose data when the container exits in Devops?
asked
Apr 5, 2020
in
DevOps
by
ryan harris
#docker-data-lose
0
votes
Q: What is a Docker Container and how do you create it?
asked
Aug 31, 2021
in
DevOps
by
SakshiSharma
docker-container
0
votes
Q: Explain what would you check If a Linux-build-server suddenly starts getting slow?
asked
Mar 3, 2020
in
DevOps
by
rajeshsharma
#devops-linux-server
0
votes
Q: What’s the init container and when it can be used?
asked
Mar 16
in
Kubernetes K8s
by
DavidAnderson
kubernetes-interview-questions
+1
vote
Q: Do I lose my data when the Docker container exits?
asked
Aug 15, 2020
in
DevOps
by
RShastri
#devops
+1
vote
Q: Can you remove (‘docker rm’) a container that is paused?
asked
Aug 15, 2020
in
DevOps
by
RShastri
#docker
0
votes
Q: Can you use a container, edit it, and update it? Also, how do you make it a new and store it on the local system?
asked
Aug 29, 2023
in
Docker
by
JackTerrance
docker-interview-questions-answers
+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
...