docs: building an image (#2072)

This commit is contained in:
Fabrice Flore-Thébault 2023-04-14 14:04:44 +02:00 committed by GitHub
parent e9c8ca84f2
commit 221e141e4e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -0,0 +1,30 @@
---
sidebar_position: 10
title: Building an image
description: Building an image on your container engine.
keywords: [podman desktop, podman, containers, images]
tags: [images]
---
# 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` or `Dockerfile`.
#### Procedure
1. Open **Podman Desktop dashboard > 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. Click **<icon icon="fa-solid fa-cubes" size="lg" /> Build**.
#### Verification
1. Open **Images**
1. Your image *`<my_image>`* is in the list.