Difference between revisions of "Buildah"
From John Freier
Line 1: | Line 1: | ||
This tool is used to build images. | This tool is used to build images. | ||
+ | |||
+ | Build an image | ||
+ | buildah bud -t {image}:{tag} | ||
List all images | List all images |
Revision as of 18:46, 4 April 2022
This tool is used to build images.
Build an image
buildah bud -t {image}:{tag}
List all images
buildah images
To run buildah using docker
docker run -it \ --security-opt seccomp=unconfined \ --security-opt apparmor=unconfined \ --entrypoint "/bin/bash" \ quay.io/buildah/stable
You need to have the following flags
--security-opt seccomp=unconfined --security-opt apparmor=unconfined
seccomp - Docker restricts using unshare system call inside a containers.
apparmor - This flag is required.