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 in Docker by Ruby
16 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 by Sirajul
• 5,960 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 in Docker by Naina
1,260 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,280 points
86 views
0 votes
1 answer

Docker for windows: Eval command not found

Follow the below commands to configure your ...READ MORE

answered Oct 1, 2018 in Docker by Tyrion anex
• 8,280 points
422 views
0 votes
1 answer
0 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
• 56,160 points
99 views
0 votes
1 answer

How does save and export command work in docker and how are they different from one another?

Export : Export is used to persist a ...READ MORE

answered Jul 2 in Docker by Sirajul
• 5,960 points

edited Jul 2 by Sirajul 8 views
0 votes
1 answer

what does docker import command do?

docker import command Imports the contents from ...READ MORE

answered Jul 2 in Docker by Sirajul
• 5,960 points
11 views