Copied from @TeeVenDick patch https://github.com/containers/podman/pull/9072

Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
This commit is contained in:
TeeVenDick
2021-01-23 10:40:19 +08:00
committed by Daniel J Walsh
parent b4b78382cd
commit 75698b4b78

View File

@ -34,7 +34,7 @@ Sometimes we can find a publicly available container image for the exact workloa
Container Images arent actually images, theyre repositories often made up of multiple layers. These layers can easily be added, saved, and shared with others by using a Containerfile (Dockerfile). This single file often contains all the instructions needed to build the new and can easily be shared with others publicly using tools like GitHub.
Here's an example of how to build an Nginx web server on top of a Debian base image using the Dockerfile maintained by Nginx and published in GitHub::
Here's an example of how to build a Nginx web server on top of a Debian base image using the Dockerfile maintained by Nginx and published in GitHub::
podman build -t nginx https://git.io/Jf8ol
@ -62,7 +62,7 @@ Input::
Password: ********
Login Succeeded!
Nex, tag the image so that we can push it into our user account::
Next, tag the image so that we can push it into our user account::
podman tag localhost/nginx quay.io/USERNAME/nginx