1
0
mirror of https://github.com/docker/cli.git synced 2025-08-31 23:02:07 +03:00
Files
cli/docs/reference/commandline/import.md
2024-01-15 13:49:53 +01:00

21 lines
674 B
Markdown

# docker import
<!---MARKER_GEN_START-->
Import the contents from a tarball to create a filesystem image
### Aliases
`docker image import`, `docker import`
### Options
| Name | Type | Default | Description |
|:------------------|:---------|:--------|:--------------------------------------------------|
| `-c`, `--change` | `list` | | Apply Dockerfile instruction to the created image |
| `-m`, `--message` | `string` | | Set commit message for imported image |
| `--platform` | `string` | | Set platform if server is multi-platform capable |
<!---MARKER_GEN_END-->