docker import

Estimated reading time: 1 minute


Import the contents from a tarball to create a filesystem image


docker import [OPTIONS] file|URL|- [REPOSITORY[:TAG]]


Name, shorthand Default Description
--change, -c   Apply Dockerfile instruction to the created image
--message, -m   Set commit message for imported image

Parent command

Command Description
docker The base command for the Docker CLI.

Extended description

Alias for docker image import.

chat icon Feedback? Suggestions? Can't find something in the docs?
Edit this page Request docs changes Get support
Rate this page: