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
354 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
• 38,820 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
2,371 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
121 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
818 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,940 points
227 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 in Docker by Sirajul
• 38,820 points
2,111 views