Export an image, load it on an air-gapped host, and verify the digest.
IntermediateProductionRapid-Fire Commands
Answer
docker save app:1.4.2 | gzip > app.tgz
scp app.tgz host:/tmp/ && ssh host 'gunzip -c /tmp/app.tgz | docker load'
docker image inspect app:1.4.2 -f '{{.Id}}'
The image ID (config digest) must match on both sides.
More on Rapid-Fire Commands
Run a container in the background with a name, a port mapping and an env var.BeginnerShow only running container names and their images.BeginnerFollow the last 50 lines of logs with timestamps.BeginnerGet a shell in a running container, as root, even if the image sets USER.BeginnerStop and remove every exited container.BeginnerShow which files a container changed relative to its image.Beginner