Name: machine
Owner: CenturyLink Labs
Description: Machine management for a container-centric world
Created: 2015-01-29 19:32:31.0
Updated: 2016-07-01 17:36:55.0
Pushed: 2015-08-21 14:27:16.0
Homepage: null
Size: 8498
Language: Go
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
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.
It works a bit like this:
cker-machine create -d virtualbox dev
ting CA: /home/username/.docker/machine/certs/ca.pem
ting client certificate: /home/username/.docker/machine/certs/cert.pem
e cache does not exist, creating it at /home/username/.docker/machine/cache...
efault boot2docker iso found locally, downloading the latest release...
loading https://github.com/boot2docker/boot2docker/releases/download/v1.6.2/boot2docker.iso to /home/username/.docker/machine/cache/boot2docker.iso...
ting VirtualBox VM...
ting SSH key...
ting VirtualBox VM...
ting VM...
ee how to connect Docker to this machine, run: docker-machine env dev
cker-machine ls
ACTIVE DRIVER STATE URL SWARM
* virtualbox Running tcp://192.168.99.127:2376
al "$(docker-machine env dev)"
cker run busybox echo hello world
le to find image 'busybox:latest' locally
36ea3c5a: Pull complete
46f9f060: Pull complete
149945cb: Pull complete
bf8c1536: Pull complete
o world
cker-machine create -d digitalocean --digitalocean-access-token=secret staging
ting SSH key...
ting Digital Ocean droplet...
ee how to connect Docker to this machine, run: docker-machine env staging
cker-machine ls
ACTIVE DRIVER STATE URL SWARM
virtualbox Running tcp://192.168.99.127:2376
ing * digitalocean Running tcp://104.236.253.181:2376
Full documentation is available here.
Want to hack on Machine? Please start with the Contributing Guide.