Sample Header Ad - 728x90

Podman vs Buildah: buildah from, run, and commit -versus- podman run, exec, and commit?

2 votes
1 answer
1841 views
It seems we have the workflow to launch a container, and run commands inside of it, and commit it. buildah-from - Creates a new working container, either from scratch or using a specified image as a starting point. buildah-run - Run a command inside of the container. buildah-commit - Create an image from a working container. But we can do the same thing with podman? podman-run - Run a command in a new container podman-exec - Execute a command in a running container podman-commit - Create new image based on the changed container What's the difference between these two sequences of commands? When should we prefer one over the other?
Asked by Evan Carroll (34663 rep)
Nov 12, 2020, 06:46 PM
Last activity: Jan 5, 2021, 08:02 AM