Not able to install docker-machine in Centos 7
NickName:Puneet Pandey Ask DateTime:2017-03-29T13:53:22

Not able to install docker-machine in Centos 7

Docker is installed in my Centos 7 machine:

Client: Version:      17.03.1-ce API version:  1.27
Server:  Version:      17.03.1-ce  API version:  1.27 (minimum version 1.12)

But I am not able to install docker-machine. Below is how I try to install it:

wget https://github.com/docker/machine/releases/download/v0.6.0/docker-machine-$(uname
-s)-$(uname -m)
mv docker-machine-Linux-x86_64 docker-machine
chmod +x docker-machine
sudo mv docker-machine /usr/local/bin

And when I check for the docker-machine version,

docker-machine version

I get below error:

bash: docker-machine: command not found...

Copyright Notice:Content Author:「Puneet Pandey」,Reproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/43085375/not-able-to-install-docker-machine-in-centos-7

Answers
Tioma 2017-08-18T09:08:25

Move to /usr/bin instead of /usr/local/bin \n\nmv docker-machine /usr/bin\n",


Suraj N 2017-03-29T06:12:18

Try to add the docker-machine to your path as shown here:\nDocker Installing bash completion\n\nIf not are you able to run /usr/local/bin/docker-machine version\n\nAny errors and full output would be appreciated!",


John Sarris 2017-10-09T06:40:25

I have followed your steps, that is:\n\nwget https://github.com/docker/machine/releases/download/v0.6.0/docker-\nmachine-$(uname-s)-$(uname\n-m) mv docker-machine-Linux-x86_64 docker-machine chmod +x docker-machine\n\n\nbut at this point instead I wrote:\n\nsudo cp docker-machine /usr/local/bin\ndocker-machine version\ndocker-machine version 0.6.0, build e27fb87\n\n\nI hope it helps.",


Fernando Méndez Requena 2018-01-29T11:29:00

Agreed with @Tioma, doing the first step and it works perfectly\nInstall docker machine on Centos 7\n\n[root@osboxes Desktop]# mv docker-machine-Linux-x86_64 docker-machine\n[root@osboxes Desktop]# chmod +x docker-machine\n[root@osboxes Desktop]# sudo mv docker-machine /usr/bin\n[root@osboxes Desktop]# docker-machine version\ndocker-machine version 0.6.0, build e27fb87\n",


Shivinder Singh 2019-03-14T18:29:13

You may try the following steps: \n\n\nManually download package from https://archlinux.pkgs.org/rolling/archlinux-community-x86_64/docker-machine-0.16.1-2-x86_64.pkg.tar.xz.html \nUnpack the file \nMove docker-engine file to usr/bin \nRun following chmod +x docker-machine \ndocker-machine version to test if install works.\n",


More about “Not able to install docker-machine in Centos 7” related questions

Not able to install docker-machine in Centos 7

Docker is installed in my Centos 7 machine: Client: Version: 17.03.1-ce API version: 1.27 Server: Version: 17.03.1-ce API version: 1.27 (minimum version 1.12) But I am not able to i...

Show Detail

Not able to install phpMyAdmin on CentOS7

I am trying to install phpMyAdmin for CentOS 7 with the following command: sudo yum install phpmyadmin I then get the following message: Error: php72u-common conflicts with php-common-5.4.16-45....

Show Detail

How to install Miktex on Centos 7?

Can anyone suggest me how I can install miktex on Centos 7? While I find the instructions for installing Miktex on Centos 8 at https://miktex.org/download, I was not able to install the same even i...

Show Detail

Not able to install mysql-devel on CentOS-7

On CentOS 7 The below error is reported when I do an yum install mysql-devel. Ultimately I want to install mysqlclient by resolving this first. Would Appreciate any help on this.Thanks.Python versi...

Show Detail

Centos 7 docker-machine "invalid argument: could not find capabilities for domaintype=kvm"

With a centos 7 minimal machine, I've run the following commands: yum update -y yum install -y vim docker wget git net-tools bind-utils iptables-services bridge-utils bash-completion libvirt libvirt-

Show Detail

How to install webacula 7 on centos 7

this is a tutorial to install webacula 7 (after bacula 7 with mysql) this is the tutorial for centos+bcula that i used (without webmin section) http://www.backupcentral.com/phpBB2/two-way-mirrors-of-

Show Detail

Cant install Bitnami Django Stack on CentOS 7

I cant install Bitnami Django Stack on CentOS 7. I keep getting an error that says; " Segmentation fault (core dumped) " I am able to easily install the same downloaded package on ubuntu server b...

Show Detail

How to install cgal on CentOS 7(or CentOS 6)?

I want to install cgal module on CentOS7(or CentOS6). it needs for pgrouting to use PostGIS. I have been install cgal with CGAL Manual Installation. But I didn't installed. And tried to install with

Show Detail

Failed to install R on Centos 7

I have CentOS 7 (3.10.0-123.el7.x86_64) and I seem not be able to install R and then get Rstudio server working. This is what I did: rpm -Uvh http://dl.fedoraproject.org/pub/epel/epel-release-lat...

Show Detail

how to install lxde in centos 7

I installed a 64bit Centos7 in my virtualbox running in windows7. The default desktop of the centos is genome3. I don't like it. So I am trying to install lxde desktop in my CentOS7. I searched the

Show Detail