Options (3)
-t, --tagbooleanCreate an image with a specified tag
Example:
podman build {{[-t|--tag]}} {{image_name:version}} {{path/to/directory}}-f, --filebooleanCreate an image from a non-standard file
Example:
podman build {{[-f|--file]}} {{Containerfile.different}} .-q, --quietbooleanCreate an image suppressing all output
Example:
podman build {{[-q|--quiet]}} {{path/to/directory}}Examples (5)
Create an image using a `Dockerfile` or `Containerfile` in the specified directory
podman build path/to/directoryCreate an image with a specified tag
podman build [-t|--tag] image_name:version path/to/directoryCreate an image from a non-standard file
podman build [-f|--file] Containerfile.different .Create an image without using any previously cached images
podman build --no-cache path/to/directoryCreate an image suppressing all output
podman build [-q|--quiet] path/to/directorymade by @shridhargupta | data from tldr-pages