commands.sh

podman build

all

Daemonless tool for building container images.

More info →

Options (3)

-t, --tagboolean

Create an image with a specified tag

Example: podman build {{[-t|--tag]}} {{image_name:version}} {{path/to/directory}}
-f, --fileboolean

Create an image from a non-standard file

Example: podman build {{[-f|--file]}} {{Containerfile.different}} .
-q, --quietboolean

Create 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/directory

Create an image with a specified tag

podman build [-t|--tag] image_name:version path/to/directory

Create 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/directory

Create an image suppressing all output

podman build [-q|--quiet] path/to/directory
made by @shridhargupta | data from tldr-pages