I am new to docker and have been following the official tutorial: https://docs.docker.com/get-started/part2/#run-the-app
I am using RHEL
7.3
[root@pecan-9A /]# cat /etc/redhat-release
Red Hat Enterprise Linux Server release 7.3 (Maipo)
Redhat makes a distinction between their docker
and docker-latest
RPMs. They serve different version of docker
. But none of them contains the command docker-machine
as suggested in the tutorial
[root@pecan-9A /]# docker -v
Docker version 1.12.6, build 3a094bd/1.12.6
[root@pecan-9A /]# docker-latest -v
Docker version 1.13.1, build 6774275/1.13.1
[root@pecan-9A /]# docker-machine ip
-bash: docker-machine: command not found
[root@pecan-9A /]# which docker-machine
/usr/bin/which: no docker-machine in (/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin:/opt/gradle/bin)
Any suggestion where to find docker-machine
in RHEL?
docker-machine
appears to be obsolete and was originally intended for Mac and Windows.
I think you were expected to run docker-machine ip
on the host, not on the Linux virtual machine running the containers.