DOCKER: mudanças entre as edições
Ir para navegação
Ir para pesquisar
Sem resumo de edição |
|||
Linha 1: | Linha 1: | ||
=Comamnds= | =Comamnds= | ||
< | <syntaxhighlight lang=bash> | ||
docker exec -it container-name bash | docker exec -it container-name bash | ||
docker commit container-ID image-name | docker commit container-ID image-name | ||
Linha 8: | Linha 8: | ||
gzip -d awx_rabbitmq.tgz | gzip -d awx_rabbitmq.tgz | ||
docker load --input awx_rabbitmq.tar | docker load --input awx_rabbitmq.tar | ||
</ | docker images | grep ^docker | while read a{1..8}; do docker save $a1:$a2 | pv | pigz -p 4 -9 > $(echo $a1 | awk -F \/ '{print $3}').tgz ;done | ||
</syntaxhighlight > |
Edição das 17h54min de 30 de janeiro de 2020
Comamnds
docker exec -it container-name bash
docker commit container-ID image-name
docker run -i -t ubuntu:22:10 /bin/bash
docker pull ansible/awx_rabbitmq:3.7.21
docker save ansible/awx_rabbitmq:3.7.21 | pv | pigz -p 4 -9 > awx_rabbitmq.tgz
gzip -d awx_rabbitmq.tgz
docker load --input awx_rabbitmq.tar
docker images | grep ^docker | while read a{1..8}; do docker save $a1:$a2 | pv | pigz -p 4 -9 > $(echo $a1 | awk -F \/ '{print $3}').tgz ;done