This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Python wrapper for Docker Machine.

Project Description
# docker-machine-py

[![Build Status](https://travis-ci.org/jgrowl/docker-machine-py.svg?branch=master)](https://travis-ci.org/jgrowl/docker-machine-py)

A Python library for the Docker Machine CLI. It does everything the docker-machine command does, but from within Python
– create machines, check status, get ip, run ssh commands, regenerate certificates, etc.

## Installation

The latest stable version is always available on PyPi.

pip install docker-py

## Documentation

[![Documentation Status](https://readthedocs.org/projects/docker-machine-py/badge/?version=latest)](https://readthedocs.org/projects/docker-machine-py/?badge=latest)

[Read the full documentation here.](http://docker-machine-py.readthedocs.org/en/latest/)

## Usage

import docker_machine
machine = Machine('my_digitalocean_machine')
if not machine.exists():
machine.create('digitalocean', access_token='my_digitalocean_access_token')

status = machine.status()
machine.rm(force=True)

### Customizing the client

docker_machine.CLIENT = docker_machine.cli.client.Client(storage_path=None, storage_path=None, tls_ca_cert=None,
tls_ca_key=None, tls_client_cert=None, tls_client_key=None, github_api_token=None, native_ssh=False,
bugsnag_api_token=None)

## Using the lower level wrapper

If you need more control or wish to interact with docker-machine exactly as you would from cli you can use the client
directly.

import docker_machine
client = Client()

Release History

Release History

This version
History Node

0.2.1

History Node

0.2.0

History Node

0.1.2

History Node

0.1.1

History Node

0.1.0

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
docker-machine-py-0.2.1.tar.gz (13.2 kB) Copy SHA256 Checksum SHA256 Source Jun 23, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting