Run Against An Existing Machine
To use an existing machine with Minishift, it needs to be configured as follows:
Establish password-less SSH from the host to the existing remote machine:
-
Remote_Machine$ yum install -y docker net-tools firewalld
Remote_Machine$ systemctl enable docker
Remote_Machine$ systemctl start firewalld
Remote_Machine$ systemctl enable firewalld
Allow the ,
8443
, and80
TCP ports through the firewall on the remote machine to have communication from the host:Determine the Docker bridge network container subnet:
This command displays a subnet, such as
172.17.0.0/16
.Using the Docker bridge network container subnet, create a minishift zone for the firewall with the subnet as its source:
-
Reload the firewall on the remote machine:
Use the following command on the host to run Minishift against a remote machine:
$ minishift start --vm-driver generic --remote-ipaddress <remote_IP_address> --remote-ssh-user <username> --remote-ssh-key <private_ssh_key>