Files
cheatsheet-tldr/tldr/docker-load
2025-04-23 00:19:06 +00:00

22 lines
552 B
Plaintext

---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# docker 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 load < {{path/to/image_file.tar}}`
- Load a Docker image from a specific file:
`docker load {{[-i|--input]}} {{path/to/image_file.tar}}`
- Load a Docker image from a specific file in quiet mode:
`docker load {{[-q|--quiet]}} {{[-i|--input]}} {{path/to/image_file.tar}}`