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
5,320 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
• 58,990 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
10,959 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 6, 2018 in Docker by Tyrion anex
• 8,650 points
325 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 29, 2020 by Gitika 3,220 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,100 points
1,042 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
• 58,990 points
9,054 views