Created
October 7, 2021 14:07
-
-
Save herrernst/f89129cddb3f1af22150542b5948582f to your computer and use it in GitHub Desktop.
build oci-image (for docker/podman) from rootfs
This file contains hidden or 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
debootstrap bullseye ./debian-bullseye # download and create rootfs download | |
tar cf debian-bullseye.tar -C ./debian-bullseye/ . # tar | |
podman import debian-bullseye.tar debian-bullseye # import with name | |
podman run -it debian-bullseye /bin/bash # run bash in named container |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment