Friday, July 7, 2017

Store and Run docker images locally



Store and Run docker images locally:


How to save image locally and use it:

// You have built an image named s3-store-build

// Now save locally
$ docker save s3-store-build > s3-store-build.tar

$ ls -ltrsh
261M -rw-rw-r--  s3-store-build.tar

// Load the image - ready to run:
$ docker load --input s3-store-build.tar

No comments:

Post a Comment