Skip to content

Commit d211dbf

Browse files
Merge pull request #25631 from rgaiacs/fix-docs-introduction
Fix some code blocks in documentation
2 parents 2b0aef5 + 67165d8 commit d211dbf

File tree

1 file changed

+21
-19
lines changed

1 file changed

+21
-19
lines changed

docs/source/Introduction.rst

Lines changed: 21 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -36,34 +36,35 @@ Sometimes we can find a publicly available container image for the exact workloa
3636

3737
Container Images aren’t actually images. They are 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 a new container image and can easily be shared with others publicly using tools like GitHub.
3838

39-
Here's an example of how to build a build a container image from content that resides in a git repository:
39+
Here's an example of how to build a build a container image from content that resides in a git repository::
4040

4141
podman build -t hello https://github.com/containers/PodmanHello.git
42+
4243
Once, the image build completes, it’s easy to run the new image from our local cache::
4344

4445
podman run -it hello
4546

4647
Output::
48+
4749
!... Hello Podman World ...!
4850

49-
.--"--.
50-
/ - - \
51-
/ (O) (O) \
52-
~~~| -=(,Y,)=- |
53-
.---. /` \ |~~
54-
~/ o o \~~~~.----. ~~
55-
| =(X)= |~ / (O (O) \
56-
~~~~~~~ ~| =(Y_)=- |
57-
~~~~ ~~~| U |~~
58-
59-
Project: https://github.com/containers/podman
60-
Website: https://podman.io
61-
Desktop: https://podman-desktop.io
62-
Documents: https://docs.podman.io
63-
YouTube: https://youtube.com/@Podman
64-
X/Twitter: @Podman_io
65-
66-
...
51+
.--"--.
52+
/ - - \
53+
/ (O) (O) \
54+
~~~| -=(,Y,)=- |
55+
.---. /` \ |~~
56+
~/ o o \~~~~.----. ~~
57+
| =(X)= |~ / (O (O) \
58+
~~~~~~~ ~| =(Y_)=- |
59+
~~~~ ~~~| U |~~
60+
61+
Project: https://github.com/containers/podman
62+
Website: https://podman.io
63+
Desktop: https://podman-desktop.io
64+
Documents: https://docs.podman.io
65+
YouTube: https://youtube.com/@Podman
66+
X/Twitter: @Podman_io
67+
Mastodon: @[email protected]
6768

6869
Building new images is great, but sharing our work with others lets them review our work, critique how we built them, and offer improved versions. Our newly built `hello` image can be published at quay.io or docker.io to share it with the world. Everything needed to run the `hello` application is provided in the container image. Others can easily pull it down and use it, or make improvements to it.
6970

@@ -72,6 +73,7 @@ Standardizing on container images and `Container Registries`_ enable a new level
7273
For example, if we wanted to share our newly built `hello` container image on quay.io it’s easy. First log in to quay::
7374

7475
podman login quay.io
76+
7577
Input::
7678

7779
Username: USERNAME

0 commit comments

Comments
 (0)