mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-15 18:00:06 +00:00
Update cheatsheets
This commit is contained in:
18
tldr/podman-export
Normal file
18
tldr/podman-export
Normal file
@@ -0,0 +1,18 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# podman export
|
||||
|
||||
> Export the filesystem of a container and save it as a tarball on the local machine.
|
||||
> See also: `podman import`, `podman save`.
|
||||
> More information: <https://docs.podman.io/en/latest/markdown/podman-export.1.html>.
|
||||
|
||||
- Export a container's filesystem to a tar file:
|
||||
|
||||
`podman export {{[-o|--output]}} {{path/to/file.tar}} {{container_name_or_id}}`
|
||||
|
||||
- Export a container's filesystem to `stdout`:
|
||||
|
||||
`podman export {{container_name_or_id}} > {{path/to/file.tar}}`
|
||||
Reference in New Issue
Block a user