From 3a37f0717800d2b6421d95dc1ff79caf391a73f5 Mon Sep 17 00:00:00 2001 From: Guy Bianco IV Date: Wed, 12 Oct 2022 03:09:29 -0400 Subject: [PATCH] podman-build: add page (#8869) --- pages/common/podman-build.md | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 pages/common/podman-build.md diff --git a/pages/common/podman-build.md b/pages/common/podman-build.md new file mode 100644 index 0000000000..a4e3d59eb5 --- /dev/null +++ b/pages/common/podman-build.md @@ -0,0 +1,25 @@ +# podman build + +> Daemonless tool for building container images. +> Podman provides a Docker-CLI comparable command-line. Simply put: `alias docker=podman`. +> More information: . + +- 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 --tag {{image_name:version}} {{path/to/directory}}` + +- Create an image from a non-standard file: + +`podman build --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 --quiet {{path/to/directory}}`