Source repo for Docker's Documentation
Go to file
Evan Hazlett 49686b9a91
better hint for windows shells
Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
2015-04-30 10:36:38 -04:00
Godeps Adding github.com/stretchr/testify/assert to Godeps 2015-04-20 19:27:38 -04:00
commands better hint for windows shells 2015-04-30 10:36:38 -04:00
docs Merge pull request #1048 from nathanleclaire/fix_windows_binary 2015-04-29 09:26:37 -04:00
drivers Merge pull request #1025 from jfieber/vboxnat 2015-04-29 09:25:38 -04:00
libmachine Enhancing `docker-machine ip` to support multiple host arguments 2015-04-22 22:10:45 -04:00
provider add provider package tests 2015-03-10 00:44:57 -04:00
script run sum generation before uploading 2015-03-30 13:48:14 -04:00
ssh use template for shell config; more powershell and cmd fixes 2015-04-29 09:28:35 -04:00
state Fix doc typo and add additional if condition 2014-12-28 00:39:57 -08:00
test/integration Update VMware Fusion and vSphere driver to run boot2docker 1.6.0 2015-04-20 10:34:13 -07:00
utils virtualbox: add ability to import b2d instances 2015-04-23 09:38:02 -04:00
version Fix a typo in version.go 2015-04-01 17:56:50 +08: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 update changelog with 0.2.0 release date 2015-04-16 00:32:44 -04:00
CONTRIBUTING.md moved contributing guidelines and driver reqs to contributing doc 2015-04-13 09:22:35 -04:00
Dockerfile Add structure to generate code coverage representation 2015-02-02 13:41:42 -08:00
LICENSE Initial commit 2014-12-04 15:05:11 +01:00
MAINTAINERS Add @ehazlett as a maintainer 2014-12-17 16:57:09 -08:00
Makefile Add the docs.docker.com build tooling 2015-02-20 13:20:54 +10:00
README.md Merge pull request #978 from ehazlett/driver-contribution-guidelines 2015-04-22 04:48:01 -07:00
ROADMAP.md update roadmap 2015-03-29 01:02:23 -04:00
log.go Initial commit 2014-12-04 15:05:11 +01:00
main.go Refactoring commands.go into new commands package, with separate file for each subcommand 2015-04-15 19:04:44 -04: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
INFO[0000] Creating SSH key...
INFO[0000] Creating VirtualBox VM...
INFO[0007] Starting VirtualBox VM...
INFO[0007] Waiting for VM to start...
INFO[0041] "dev" has been created and is now the active machine.
INFO[0041] To point your Docker client at it, run this in your shell: eval "$(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
INFO[0000] Creating SSH key...
INFO[0001] Creating Digital Ocean droplet...
INFO[0002] Waiting for SSH...
INFO[0070] Configuring Machine...
INFO[0109] "staging" has been created and is now the active machine.
INFO[0109] To point your Docker client at it, run this in your shell: eval "$(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.