Skip to content

Commit cf6bfe2

Browse files
committed
new podman ui adjustment
1 parent abdc150 commit cf6bfe2

File tree

2 files changed

+17
-2
lines changed

2 files changed

+17
-2
lines changed
-292 KB
Loading

documentation/modules/ROOT/pages/podman-desktop.adoc

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,13 @@ image::podman-desktop-nginx.png[alt="Podman Desktop running nginx", align="cente
3939

4040
== Creating a Pod
4141

42-
Podman also allows you to create pods, which are groups of containers that share the same network and storage. This is useful for applications that require multiple containers to run together, such as a database and web server. To create a pod, click the *Play Kubernetes YAML* button in the *Pods* tab. This will bring up a dialog where you select the Kubernetes YAML, and apply it to either Podman or a Kubernetes cluster. For this example, we'll create a `podman-desktop-pod.yaml` file with the following content.
42+
Podman also allows you to create pods, which are groups of containers that share the same network and storage. This is useful for applications that require multiple containers to run together, such as a database and web server.
43+
44+
Before creating the pod, make sure to pull another image:
45+
46+
* Repeat the steps above to *pull* another image from the registry: `postgres:latest`.
47+
48+
Create a new file named `podman-desktop-pod.yaml` with the following content:
4349

4450
[.console-input]
4551
[source,bash,subs="+macros,+attributes"]
@@ -65,7 +71,16 @@ spec:
6571
value: mysecretpassword
6672
----
6773

68-
This YAML file will create a pod with two containers, one running nginx and the other running PostgreSQL. The YAML file can be applied to the Podman engine by clicking the *Play* button after selecting the file. This will create the pod and start the containers.
74+
75+
This YAML file will create a pod with two containers, one running nginx and the other running PostgreSQL:
76+
77+
1. Click on the *Play Kubernetes Yaml* button in the top right corner.
78+
79+
2. Click on the *file* button and select the previously created YAML file.
80+
81+
3. Click on the *Play* button to launch the pod.
82+
83+
4. Click on the *Done* button.
6984

7085
image::podman-desktop-pod-play.png[alt="Podman Desktop Pod Create", align="center"]
7186

0 commit comments

Comments
 (0)