mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-26 11:33:59 +00:00
22 lines
609 B
Plaintext
22 lines
609 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, common]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# docker image load
|
|
|
|
> Load Docker images from files or `stdin`.
|
|
> More information: <https://docs.docker.com/reference/cli/docker/image/load/>.
|
|
|
|
- Load a Docker image from `stdin`:
|
|
|
|
`docker < {{path/to/image_file.tar}} {{[load|image load]}}`
|
|
|
|
- Load a Docker image from a specific file:
|
|
|
|
`docker {{[load|image load]}} {{[-i|--input]}} {{path/to/image_file.tar}}`
|
|
|
|
- Load a Docker image from a specific file in quiet mode:
|
|
|
|
`docker {{[load|image load]}} {{[-q|--quiet]}} {{[-i|--input]}} {{path/to/image_file.tar}}`
|