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 |
Command | Description |
---|---|
docker | The base command for the Docker CLI. |
Alias for docker image import
.