Introduction
This is a simple article where the main focus is just to show how to create a pod. The term pod is referring to a technical term in the containerization process using ‘podman’. According to this link, it is an article with the title of ‘Podman: Managing pods and containers in a local container runtime’, it often associate running pods with Kubernetes.
But in another article in this link with the title of ‘How to deploy a pod with Podman’ is also mentioning about pod. It is a trick where the pods are a group of one or more containers that operate together. So, according to that article, it assume that pods as a way to group related containers together for easier management (such as a WordPress container and its required MySQL database container managed from a single pod). So, it becomes very efficient and easy. It is because Podman deploys each container as its own process for creating interconnected containers.
The following is the syntax command pattern for the process on creating a pod using podman. :
podman pod create
The following is the example of the execution of the command of ‘podman pod create’ :
[podman@10 ~]$ podman pod create ce51d719822406656f4b2e814f08197441ce0d1cf83fd25c2ad0313ddbe0fb07 [podman@10 ~]$
In order to prove that a pod is available after executing the above command, just execute the following command pattern :
podman pod list
It is displaying the already created pod from the execution of the previous command. So, the execution for listing the pod available exist as follows :
[podman@10 ~]$ podman pod list POD ID NAME STATUS CREATED INFRA ID # OF CONTAINERS ce51d7198224 hungry_lamport Created 3 seconds ago 8bc81bddba8b 1 [podman@10 ~]$
After the display of the pod available resulting from the execution of the above command, it is ready for further usage.