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,220 points

1 answer to this question.

0 votes


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,320 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,090 points
+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 24,602 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,140 points
+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,320 points
+2 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,550 points