Skip to content

Instantly share code, notes, and snippets.

@cure
cure / docker-dump.sh
Last active August 6, 2020 20:12 — forked from ball6847/docker-dump.sh
script to save all docker image, and load them back
#!/bin/bash
help() {
echo "\
Usage: $0 save - save all docker images to current directory
$0 load - find all images in current directory then import to docker"
exit 1
}
get-image-field() {