Source repo for Docker's Documentation
Go to file
Nathan LeClaire fb2e843e99 - Re-introduce config migration; fix panics occurring from older configs
- Introduce boilerplate for config.json migrations

Signed-off-by: Nathan LeClaire <nathan.leclaire@gmail.com>
2015-07-28 15:38:16 -07:00
Godeps exoscale: update egoscale binding for 32-bit compatibility 2015-05-28 15:02:34 +02:00
commands added support for setting environment variables in docker engines 2015-07-16 16:12:06 -04:00
docs Merge pull request #1497 from udryan10/engine-set-proxy-config 2015-07-21 17:25:16 -07:00
drivers - Re-introduce config migration; fix panics occurring from older configs 2015-07-28 15:38:16 -07:00
experimental Tooling for release build 2015-06-14 16:05:57 -07:00
libmachine - Re-introduce config migration; fix panics occurring from older configs 2015-07-28 15:38:16 -07:00
log bugfix: logger.error was writing to stdout 2015-05-21 05:09:12 +02:00
script - Re-introduce config migration; fix panics occurring from older configs 2015-07-28 15:38:16 -07:00
ssh Fix defaulting to native SSH 2015-06-16 10:51:25 -07:00
state Fix doc typo and add additional if condition 2014-12-28 00:39:57 -08:00
test/integration added support for setting environment variables in docker engines 2015-07-16 16:12:06 -04:00
utils Add more useful error message when possibly getting rate limited by Github 2015-06-16 10:52:57 -07:00
version - Re-introduce config migration; fix panics occurring from older configs 2015-07-28 15:38:16 -07:00
.dockerignore Add some misses I found 2015-01-22 12:01:40 -08:00
.gitignore provisioner: finished migration functions 2015-03-20 23:17:42 -04:00
.godir Initial commit 2014-12-04 15:05:11 +01:00
.travis.yml remove unneeded cleanup from travis config 2015-03-04 13:07:15 -08:00
CHANGES.md Merge pull request #1134 from ehazlett/changelog-0.3.0 2015-06-18 12:53:53 -04:00
CONTRIBUTING.md Refactor integration tests 2015-06-02 10:10:52 -07:00
Dockerfile Update Go version to 1.4.2 2015-06-18 10:03:17 -07:00
LICENSE Initial commit 2014-12-04 15:05:11 +01:00
MAINTAINERS add nathan to maintainers 2015-06-04 17:43:48 -04:00
Makefile Fixes from testing of hugo 2015-06-18 13:15:04 -04:00
README.md Add logo to docs 2015-06-25 12:09:22 -07:00
ROADMAP.md Update ROADMAP.md 2015-06-08 14:14:13 -07:00
main.go - Re-introduce config migration; fix panics occurring from older configs 2015-07-28 15:38:16 -07:00
main_test.go Refactoring commands.go into new commands package, with separate file for each subcommand 2015-04-15 19:04:44 -04:00

README.md

Docker Machine

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:

$ docker-machine create -d virtualbox dev
Creating CA: /home/username/.docker/machine/certs/ca.pem
Creating client certificate: /home/username/.docker/machine/certs/cert.pem
Image cache does not exist, creating it at /home/username/.docker/machine/cache...
No default boot2docker iso found locally, downloading the latest release...
Downloading https://github.com/boot2docker/boot2docker/releases/download/v1.6.2/boot2docker.iso to /home/username/.docker/machine/cache/boot2docker.iso...
Creating VirtualBox VM...
Creating SSH key...
Starting VirtualBox VM...
Starting VM...
To see how to connect Docker to this machine, run: docker-machine env dev

$ docker-machine ls
NAME   ACTIVE   DRIVER       STATE     URL                         SWARM
dev    *        virtualbox   Running   tcp://192.168.99.127:2376

$ eval "$(docker-machine env dev)"

$ docker run busybox echo hello world
Unable to find image 'busybox:latest' locally
511136ea3c5a: Pull complete
df7546f9f060: Pull complete
ea13149945cb: Pull complete
4986bf8c1536: Pull complete
hello world

$ docker-machine create -d digitalocean --digitalocean-access-token=secret staging
Creating SSH key...
Creating Digital Ocean droplet...
To see how to connect Docker to this machine, run: docker-machine env staging

$ docker-machine ls
NAME      ACTIVE   DRIVER         STATE     URL                          SWARM
dev                virtualbox     Running   tcp://192.168.99.127:2376
staging   *        digitalocean   Running   tcp://104.236.253.181:2376

Installation and documentation

Full documentation is available here.

Contributing

Want to hack on Machine? Please start with the Contributing Guide.