Building an image on your container engine
With Podman Desktop, you can build an image from a Containerfile on your container engine.
Prerequisites
- Your Containerfile:
Containerfile
orDockerfile
.
Procedure
- Go to Images.
- Click Build an image.
- On the Build Image from Containerfile screen
- Containerfile path: select the
Containerfile
orDockerfile
to build. - Image Name: enter your image name, such as
my-image
. If you want to push the image to a registry, use the fully qualified image name that your registry requires, such asquay.io/my-repository/my-image
,ghcr.io/my-repository/my-image
, ordocker.io/my-repository/my-image
. - Click Build.
- Click Done.
- Containerfile path: select the
Verification
- Go to Images.
- : Enter your image name, such as
quay.io/my-repository/my-image
,ghcr.io/my-repository/my-image
, ordocker.io/my-repository/my-image
. - Click the line with your image name.
- Go to History.
- Click the content area to activate it.
- Enter Ctrl + F on Windows and Linux, or ⌘ + F on macOS to start searching in the content.
- Go to Inspect.
- Click the content area to activate it.
- Enter Ctrl + F on Windows and Linux, or ⌘ + F on macOS to start searching in the content.
- Click ..
- You see the Create a container screen.