Last active
December 3, 2023 13:31
-
-
Save webgtx/98ba974a5232f4a9c53d519983dbaa57 to your computer and use it in GitHub Desktop.
Podman access host filesystem with mount
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
podman run -it --rm -v /var/data:/sqm --security-opt label=disable docker.io/library/alpine sh | |
# OR | |
podman run -it --rm -v /var/data:/sqm:z docker.io/library/alpine sh # secure way |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment