How to backup/restore docker image for deployment?

How can I backup this image

Simply use the docker save command. $ docker save myusername/myproject:latest | gzip -c > myproject_img_bak20141103.tgz

You will later be able to restore it with the docker load command. gunzip -c myproject_img_bak20141103.tgz | docker load


or change it to a different tag locally without committing to networking repository?

Use the docker tag command: $ docker tag myusername/myproject:latest myusername/myproject:bak20141103

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)