Quantcast
Channel: Raspberry Pi – IT Solutions Technology Blog
Viewing all articles
Browse latest Browse all 1178

Docker – how to backup/recovery a local image to/from a local file

$
0
0

Docker – save one or more images to a tar Archive

Usage: docker save [OPTIONS] IMAGE [IMAGE…] for a not running <docker-image>:

# docker save <docker-image>:latest > <docker-image>.tar

Docker – load an image from a tar Archive

Usage: docker load [OPTIONS]

$ docker load < <docker-image>.tar

Viewing all articles
Browse latest Browse all 1178

Trending Articles