How to switch to another host in Docker Toolbox

0 votes
Hi Guys,

I have installed Docker Toolbox in the Windows system. I want to switch to a new host machine. How can I do that?
Dec 21, 2020 in Docker by akhtar
• 38,260 points
613 views

1 answer to this question.

0 votes

Hi@akhtar,

You can change the host from your Docker Toolbox command line with the below command.

$ eval $(docker-machine env hostname

It will change the host automatically.

answered Dec 21, 2020 by MD
• 95,460 points

Related Questions In Docker

+1 vote
2 answers
0 votes
2 answers
0 votes
1 answer

How to move Docker containers from one host to another?

Yes you could definitely do it the ...READ MORE

answered Jul 2, 2019 in Docker by Sirajul
• 59,230 points
12,274 views
+4 votes
4 answers

How To Access a Service on Host From a Docker Container?

Adding to kalgi's answer, You can also ...READ MORE

answered Oct 16, 2018 in Docker by lina
• 8,220 points

edited Oct 16, 2018 by lina 34,134 views
+2 votes
1 answer
+2 votes
1 answer

Deploy Docker Containers from Docker Cloud

To solve this problem, I followed advice ...READ MORE

answered Sep 3, 2018 in AWS by Priyaj
• 58,020 points
2,714 views
+1 vote
1 answer

How to mount a host directory in a Docker container?

Hi@akhtar, You can use the -v option in ...READ MORE

answered Dec 23, 2020 in Docker by MD
• 95,460 points
2,396 views
+3 votes
12 answers

How to run multiple commands in docker at once?

In order to run multiple commands in ...READ MORE

answered Jul 19, 2018 in Docker by Sophie may
• 10,620 points
250,210 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP