Projetos
Ver no GitHub
bcicen/docker-replay
Sobre
Generate docker commands to rerun existing containers
Sistemas e infraestruturaCrescimento medido de estrelas
- em 24 h
- 0
- em 7 dias
- 0
- em 15 dias
- 0
- em 1 mês
- Coletando histórico
Variações líquidas em períodos sobrepostos, não totais diários. Medições ausentes ficam em branco. Estrelas indicam interesse, não qualidade.
README.md
Originaldocker-replay
Generate docker run command and options from running containers
Quickstart
docker-replay can be most easily run using the official image build:
docker run --rm -ti \
-v /var/run/docker.sock:/var/run/docker.sock \
bcicen/docker-replay \
-p <container name or id>
Installing
pip install docker-replay
Usage
docker-replay -p <container name or id>
output:
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 |
Explore projetos relacionados
Carregando…