Thursday, December 29, 2016

How to install docker-machine on Ubuntu 16.04


If you want to provision or manage docker host remotely from your local computer, you will need to install docker-machine. This article i will show you how to install docker-machine on ubuntu.


Step by step how to install docker-machine on ubuntu 16.04

  • download docker-machine binary using wget
  • wget https://github.com/docker/machine/releases/download/v0.6.0/docker-machine-$(uname -s)-$(uname -m)
  • rename the docker-machine binary
  • mv docker-machine-Linux-x86_64 docker-machine
  • make the docker-machine binary executable
  • chmod +x docker-machine
  • copy the docker-machine to the bin directory
  • sudo mv docker-machine /usr/local/bin

You can try run docker-machine now, simply show the version like this:
docker-machine version

No comments:

Post a Comment