User Tools

Site Tools


docker_bootstrap

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Last revision Both sides next revision
docker_bootstrap [2015/03/18 16:28]
kyxap
docker_bootstrap [2015/03/18 16:43]
kyxap
Line 15: Line 15:
 ===== Создание образов для переноса ===== ===== Создание образов для переноса =====
   docker images | tail -n+2 | awk '​{print $1}' | while read i; do docker save $i > $(echo $i | tr '/'​ '​_'​).tar.gz;​ done   docker images | tail -n+2 | awk '​{print $1}' | while read i; do docker save $i > $(echo $i | tr '/'​ '​_'​).tar.gz;​ done
 +===== Восстановление образов =====
 +  ls *.tar.gz | xargs -n1 docker load -i
  
docker_bootstrap.txt · Last modified: 2015/09/14 12:48 by kyxap