Categories
Linux Mastering Development

buildah run vs buildah unshare: what’s the difference?

What is the difference between the buildah subcommand run and unshare? The documentation doesn’t exactly say how buildah unshare is modifying the user namespace? And I’m confused what exaclty that means.

buildah help run

Runs a specified command using the container’s root filesystem as a root filesystem, using configuration settings inherited from the container’s image or as specified using previous calls to the config command.

buildah help unshare

Runs a command in a modified user namespace.

Leave a Reply

Your email address will not be published. Required fields are marked *