Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/casualjim/dclone

Generates a docker command-line from a running container so you don't have to
https://github.com/casualjim/dclone

Last synced: 23 days ago
JSON representation

Generates a docker command-line from a running container so you don't have to

Awesome Lists containing this project

README

        

# D-clone

Helps you to duplicate or migrate running containers from 1 docker daemon to another.

## How it works

It uses the docker API to generate a command line to run a docker container just like the one that is already running.

```shell
dclone [container-name]
```

## Example

Imagine you started a container with:

```
docker run --name blah -dit --network testing -p 82:80 tutum/hello-world
```

Then running `dclone blah` would result in

```
docker run --interactive --tty --detach --name blah --network testing --port 82:80 tutum/hello-world
```