Awesome Open Source
Awesome Open Source


Pythonic wrapper around docker-machine


$ python install


$ pip install python-docker-machine


Documentation Status
import machine
import docker
m = machine.Machine(path="/usr/local/bin/docker-machine")
client = docker.APIClient(**m.config(machine='default'))


docker-machine on your system path

running the test suite

Make sure docker-machine is available on your system path. Next you need to create a docker machine with the name python-docker-machine with the driver of your choice, for example the virtualbox driver:

$ docker-machine create -d virtualbox python-docker-machine

Now you can run the tests with nose:

$  nosetests
Ran 22 tests in 0.262s

or with tox:

$ tox

Alternative Project Comparisons
Related Awesome Lists
Top Programming Languages
Top Projects

Get A Weekly Email With Trending Projects For These Topics
No Spam. Unsubscribe easily at any time.
Python (794,068
Docker (96,957
Driver (18,474
Virtualbox (4,499
Python Wrapper (2,002
Tox (1,307
Docker Machine (671