Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/casualjim/dclone
- Owner: casualjim
- License: mit
- Created: 2016-11-21T02:00:37.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2016-11-29T04:15:15.000Z (almost 8 years ago)
- Last Synced: 2024-10-04T17:59:39.920Z (about 1 month ago)
- Language: Go
- Homepage:
- Size: 931 KB
- Stars: 8
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# D-clone
Helps you to duplicate or migrate running containers from 1 docker daemon to another.
## How it worksIt 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
```