docs: updated Building an image procedure (#2964)

* docs: updated Building an image procedure

Signed-off-by: Fabrice Flore-Thébault <ffloreth@redhat.com>

* docs: implemented suggestions

Signed-off-by: Fabrice Flore-Thébault <ffloreth@redhat.com>

* Update website/docs/getting-started/building-an-image.md

Co-authored-by: Florent BENOIT <fbenoit@redhat.com>
Signed-off-by: Fabrice Flore-Thébault <ffloreth@redhat.com>

---------

Signed-off-by: Fabrice Flore-Thébault <ffloreth@redhat.com>
Co-authored-by: Florent BENOIT <fbenoit@redhat.com>
This commit is contained in:
Fabrice Flore-Thébault 2023-06-22 14:15:08 +02:00 committed by GitHub
parent ac355c6a2e
commit ddece8694c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -6,7 +6,7 @@ keywords: [podman desktop, podman, containers, images]
tags: [images]
---
# Building an image on your Container engine
# Building an image on your container engine
With Podman Desktop, you can build an image from a Containerfile on your container engine.
@ -16,14 +16,24 @@ With Podman Desktop, you can build an image from a Containerfile on your contain
#### Procedure
1. Open **<icon icon="fa-solid fa-cloud" size="lg" /> Images**.
1. Go to **<icon icon="fa-solid fa-cloud" size="lg" /> Images**.
1. Click **<icon icon="fa-solid fa-cube" size="lg" /> Build an image**.
1. On the **Build Image from Containerfile** screen
1. **Containerfile path**: select the Containerfile to build.
1. **Image Name**: edit the image name: `my_image`.
1. **Containerfile path**: select the `Containerfile` or `Dockerfile` to build.
1. **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 as `quay.io/my-repository/my-image`, `ghcr.io/my-repository/my-image`, or `docker.io/my-repository/my-image`.
1. Click **<icon icon="fa-solid fa-cubes" size="lg" /> Build**.
1. Click **Done**.
#### Verification
1. Open **Images**
1. Your image _`<my_image>`_ is in the list.
1. Go to **<icon icon="fa-solid fa-cloud" size="lg" /> Images**.
1. **<icon icon="fa-solid fa-search" size="lg" />**: Enter your image name, such as `quay.io/my-repository/my-image`, `ghcr.io/my-repository/my-image`, or `docker.io/my-repository/my-image`.
1. Click the line with your image name.
1. Go to **History**.
1. Click the content area to activate it.
1. Enter <kbd>Ctrl</kbd> + <kbd>F</kbd> on Windows and Linux, or <kbd></kbd> + <kbd>F</kbd> on macOS to start searching in the content.
1. Go to **Inspect**.
1. Click the content area to activate it.
1. Enter <kbd>Ctrl</kbd> + <kbd>F</kbd> on Windows and Linux, or <kbd></kbd> + <kbd>F</kbd> on macOS to start searching in the content.
1. Click **<icon icon="fa-solid fa-play" size="lg" />**..
1. You see the **Create a container** screen.