Error docker-machine command not found

0 votes
I need to spin-up a few docker hosts as a part of my project.I read a documentation on the internet that said to spin-up multiple docker hosts i need to use docker-machine command but, I am getting the following error on my ubuntu machine.How do I resolve this?Please help.
Jul 4, 2019 in Docker by Ruby
7,799 views

1 answer to this question.

0 votes

Hey @Ruby, You can indeed spin-up multiple docker hosts using the "docker machine" tool, but first and foremost you need to install docker-machine on your ubuntu machine. Firstly make sure if docker is installed  and then check if docker-machine is installed previously if not, download the Docker Machine binary and extract it to your PATH.You could do this by using the following command:

$ base=https://github.com/docker/machine/releases/download/v0.16.0 &&
  curl -L $base/docker-machine-$(uname -s)-$(uname -m) >/tmp/docker-machine &&
  sudo install /tmp/docker-machine /usr/local/bin/docker-machine

Check the installation by displaying the Machine version:

$ docker-machine version

Here's the snapshot of it for your reference:

answered Jul 4, 2019 by Sirajul
• 59,230 points

Related Questions In Docker

0 votes
3 answers

Error: docker command not found

If you're using Docker as an administrator, ...READ MORE

answered Apr 29, 2019 in Docker by Naina
15,850 views
0 votes
1 answer

Docker Machine error: Hyper-V PowerShell Module is not available

 The reason is the version of the ...READ MORE

answered Sep 7, 2018 in Docker by Tyrion anex
• 8,700 points
734 views
0 votes
2 answers

Docker for windows: Eval command not found

I use the cmder console emulator. For the ...READ MORE

answered Aug 29, 2020 in Docker by Pistle
• 1,000 points

edited Aug 30, 2020 by Gitika 6,486 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,090 points
2,472 views
0 votes
2 answers
0 votes
2 answers

How do I fix the “no space left on device” error in docker?

Try cleaning up: $ docker volume rm $(docker ...READ MORE

answered Aug 14, 2019 in Docker by Sirajul
• 59,230 points
12,171 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