Skip to content
This repository was archived by the owner on Jun 27, 2023. It is now read-only.
This repository was archived by the owner on Jun 27, 2023. It is now read-only.

How would I create a rootfs.tar from a UBI image #1

@devLinuxNC

Description

@devLinuxNC

I have a question about how I could create a rootfs.tar from any RHEL UBI image release

I posted this on StackOverflow.

https://stackoverflow.com/questions/63958928/how-to-build-rootfs-tar-from-rhel-ubi-image-pulled-with-podman


If I pull a RHEL UBI image like so (On Windows using cygwin and podman),

$podman pull registry.access.redhat.com/ubi8/ubi

Is there a command I can run on the host system (Windows) to create a file on the host (Windows) that would be a rootfs.tar of the UBI image that was pulled?

I want to then use that rootfs.tar to run on the Windows host under WSL2.

If anyone has done this or if there is another way to fetch the UBI image as a rootfs.tar (to create a physical file on my Windows PC), it would be greatly helpful.


Thank You

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions