https://github.com/containers/podmanhello
Podman Hello Image Repository
https://github.com/containers/podmanhello
Last synced: 2 months ago
JSON representation
Podman Hello Image Repository
- Host: GitHub
- URL: https://github.com/containers/podmanhello
- Owner: containers
- License: apache-2.0
- Created: 2023-08-14T20:44:02.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-03-21T19:00:18.000Z (almost 2 years ago)
- Last Synced: 2024-12-25T17:42:17.850Z (about 1 year ago)
- Language: Dockerfile
- Homepage: https://podman.io
- Size: 26.4 KB
- Stars: 4
- Watchers: 9
- Forks: 6
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Code of conduct: CODE-OF-CONDUCT.md
- Security: SECURITY.md
Awesome Lists containing this project
README

# Podman Hello World image Repository
## Overview
This directory contains the Containerfile and source code necessary to create the
"hello" podman image housed on quay.io under the Podman account in a public
repository. The image is public and can be pulled without credentials.
Using this image is helpful to:
* Prove that basic Podman operations are working on the host.
* Shows that the image was pulled from the quay.io container registry.
* Container creation was successfully accomplished. (`podman ps -a`)
* The created container was able to stream output to your terminal.
## Directory Contents
The contents of this directory contain:
* ./Containerfile
* ./podman_hello_world.c
## Sample Usage
To simply run the image:
```
podman run quay.io/podman/hello
!... Hello Podman World ...!
.--"--.
/ - - \
/ (O) (O) \
~~~| -=(,Y,)=- |
.---. /` \ |~~
~/ o o \~~~~.----. ~~
| =(X)= |~ / (O (O) \
~~~~~~~ ~| =(Y_)=- |
~~~~ ~~~| U |~~
Project: https://github.com/containers/podman
Website: https://podman.io
Desktop: https://podman-desktop.io
Documents: https://docs.podman.io
YouTube: https://youtube.com/@Podman
X/Twitter: @Podman_io
Mastodon: @Podman_io@fosstodon.org
```
To build the image yourself, copy the files from this directory into
a local directory and issue these commands:
```
podman build -t myhello .
podman run myhello
```
## Alternatives
Alternative hello images are in the "shell" and "python" directories.
They don't need a builder image, at the expense of a larger runtime.
## THANKS!
Many Thanks to [Anders Björklund](https://github.com/afbjorklund) for a great discussion during the
first revision of this container image that resulted in moving
from using bash to using C, and the ensuing changes to the
Containerfile.
Also many thanks to [Máirín Duffy](https://github.com/mairin) for the awesome ASCII art!