Working with Docker Machine

Working with Docker Machine

 Working with Docker Machine


Docker Machine is a command-line tool for provisioning and managing your Dockerized hosts. In simple terms, you can create a Virtual machine with a docker engine installed on the local system or remote environment. This provides a large number of drives to work with them, for example, Virtualbox, Vmware, Digital ocean and Amazon AWS, etc.

Install Docker Machine

Use one of the following options to install the Docker Machine on your system. Also, check for the latest version of https://github.com/docker/machine/releases.

On Linux Systems:
$ curl -L https://github.com/docker/machine/releases/download/v0.12.2/docker-machine-uname -s-uname -m > /usr/local/bin/docker-machine
$ chmod +x /usr/local/bin/docker-machine
On OSX Systems:
$ curl -L https://github.com/docker/machine/releases/download/v0.12.2/docker-machine-uname -s-uname -m > /usr/local/bin/docker-machine
$ chmod +x /usr/local/bin/docker-machine
On Windows Systems with Git Bash

We prefer to use Windows 10 or newer versions only.

$ if [[ ! -d "$HOME/bin" ]]; then mkdir -p "$HOME/bin"; fi
$ curl -L https://github.com/docker/machine/releases/download/v0.12.2/docker-machine-Windows-x86_64.exe > "$HOME/bin/docker-machine.exe"
$ chmod +x "$HOME/bin/docker-machine.exe"

Docker Machine Supported Drivers

Docker machine provides drivers for the following service on the local system as well as cloud providers. You can launch dockerized hosts with any of the following hosting services and manage the single system using docker-machine.

  • Amazon Web Services
  • Microsoft Azure
  • Digital Ocean
  • Exoscale
  • Google Compute Engine
  • Generic
  • Microsoft Hyper-V
  • OpenStack
  • Rackspace
  • IBM Softlayer
  • Oracle VirtualBox
  • VMware vCloud Air
  • VMware Fusion
  • VMware vSphere
Reactions

Post a Comment

0 Comments

close