Docker Machine is a helpful utility to use in conjunction with Docker:
To install Docker the container engine, you'll want to do this: Open a Terminal (if not already open) Install some of the apt HTTPS prerequisites (if they're not already installed). Docker images are pretty minimal, But you can install ping in your official ubuntu docker image via: apt-get update apt-get install iputils-ping Chances are you dont need ping your image, and just want to use it for testing purposes. Above example will help you out.
Machine lets you create Docker hosts on your computer, on cloud providers, and inside your own data center. It creates servers, installs Docker on them, then configures the Docker client to talk to them.
Check the docker-machine repository for the latest release version here: https://github.com/docker/machine/releases/. Currently, the version is at
v0.10.0. Adjust the version number accordingly in the next step with the current version number.
Follow the installation instructions for Linux located here: https://docs.docker.com/machine/install-machine/:
The above commands download the utility to a temporary location, make it executable, and move it to
/usr/local/bin for ease of use.
Check to see if the
docker-machine command is working as expected:
docker-machinecommand line reference: https://docs.docker.com/machine/reference/