containers / containers.podman / 1.12.1 / module / podman_export Export a podman container Authors: Sagi Shnaidman (@sshnaidm)containers.podman.podman_export (1.12.1) — module
Install with ansible-galaxy collection install containers.podman:==1.12.1
collections: - name: containers.podman version: 1.12.1
podman export exports the filesystem of a container and saves it as a tarball on the local machine
# What modules does for example - containers.podman.podman_export: dest: /path/to/tar/file container: container-name
- containers.podman.podman_export: dest: /path/to/tar/file volume: volume-name
dest: description: - Path to export container to. required: true type: str force: default: true description: - Force saving to file even if it exists. type: bool volume: description: - Volume to export. type: str container: description: - Container to export. type: str executable: default: podman description: - Path to C(podman) executable if it is not in the C($PATH) on the machine running C(podman) type: str