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!

Generate docker run commands from running containers

Project Description
# docker-replay
Generate `docker run` command and options from running containers

## Installing

```bash
pip install docker-replay
```

## Usage

```bash
docker-replay -p <container name or id>
```

output:
```bash
docker run --env PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin \
--hostname test \
--interactive \
--tty \
--add-host google.com:127.0.0.1 \
--memory 128m \
--memory-swap 256m \
--memory-swappiness -1 \
--name test \
--expose 80/tcp \
--restart on-failure:0 \
--entrypoint "echo" \
alpine:latest \
hello
```

## Options

Option | Description
--- | ---
--debug, -d | enable debug output
--pretty-print, -p | pretty-print output
Release History

Release History

This version
History Node

0.7

History Node

0.6

History Node

0.5

History Node

0.4

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-replay-0.7.tar.gz (5.6 kB) Copy SHA256 Checksum SHA256 Source Sep 1, 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