docker load | Docker image file
LoadanimagefromatararchiveorSTDINUsageRefertotheoptionssection[1]foranoverviewofavailableOPTIONS[2]forthiscommand.DescriptionLoadanimageorrepositoryfromatararchive(evenifcompressedwithgzip,bzip2,orxz)fromafileorSTDIN.Itrestoresbothimagesandtags.Forexampleusesofthiscommand,refertotheexamplessection[3]below.OptionsName,shorthandDefaultDescription--input,-i[4][5]Readfromtararchivefile,insteadofSTDIN--quiet,-qSuppresstheloadoutput--helpPrintusageExamples$dockerimagelsREPOSITORYTAGIMAGEIDCREATEDS...
Load an image from a tar archive or STDIN
UsageRefer to the options section[1] for an overview of available OPTIONS[2] for this command.
DescriptionLoad an image or repository from a tar archive (even if compressed with gzip, bzip2, or xz) from a file or STDIN. It restores both images and tags.
For example uses of this command, refer to the examples section[3] below.
Options Name, shorthand Default Description --input , -i[4][5] Read from tar archive file, instead of STDIN --quiet , -q Suppress the load output --help Print usage Examples $ docker image ls REPOSITORY TAG IMAGE ID CREATED SIZE Load images from STDIN $ docker load < busybox.tar.gz Loaded image: busybox:latest $ docker images REPOSITORY TAG IMAGE ID CREATED SIZE busybox ...