podman build -t myapp .

Category: Kubernetes & Containers

podman build -t myapp .

Build an image from a Dockerfile

Builds a container image named myapp from the Dockerfile in the current directory, using the same syntax as docker build. Podman builds run rootless and unprivileged by default. Tag another version with podman tag myapp myapp:1.0.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.