top of page

Podman

  • Writer: Anand Nerurkar
    Anand Nerurkar
  • Feb 15
  • 1 min read

Updated: Feb 16

ree
ree

Features

==

  1. Rootless Container

    Running and anaging container as a normal user without using root user.

  2. Multicontainer Pods

    Podman run container in pods.

  3. Daemonless

    ree

    It does not have daemon and interact directly with runc-cli tool, which spawn and run contaoner on linux as per OCI specification.


    Podman Desktop

    ===

    ree

IT is like Docker desktop ,managing podman container and k8.


Installation

===

on Ubuntu

==

ree

windows

==

download from below

ree

ree

on ubuntu

ree

this is the default registry file where we can add custom configuration.but prefer adding cusotm registry file where we can configire our setting, podma will use that.


to create it in my user directory


ree

ree

save file and exit


ree

we can mention registry info like docker.io/library/imagename


searching busybox image using unqualified registry like docker.io or github.io or redhat.io


ree

ree

ree

ree

ree

ree

ree

to check container running or not , we can use podman ps coomand-only those contoaner running, to see all container whther it is running or not use flag -a as above.


ree

ree

ree

ree

ree

ree

we will make use of ngInx image for the demo.

---

  1. search nginx container image with

    podman search nginx

  2. use podman run coomand to create new container image for nginx

    podman run container iamge

    podman run -it nginx

ree

ree

ree

container is running


to stop container

---

control +c


ree

to start

==

podman start conitner name


access contianer uslong localhost

==

ree

podman stop continer-name


ree

ree

will create endpoint with golang

==

install golang

ree

discuss for java rest app with docker file, then build image with podman as below


ree
ree
ree
ree
ree
ree
ree
ree
ree

Pushing contianer image

===

ree

ree

dockerhub as contianer registry

===

ree

ree

once image is created , then list it with podman images


pushing images

==

ree

ree

ree

pull images

==

ree

ree

run it

--

ree

ree

ree

ree

ree

ree


 
 
 

Recent Posts

See All
why springbatch job??

Spring Batch Job Spring Batch is designed exactly for batch workloads  like Pro*C migrations. ✅ Advantages: Chunk-oriented processing...

 
 
 
Pro*c Job to Spring Batch Job

Example1: 📌 Background Pro*C job  → Written in C with embedded SQL, often used for batch ETL-like jobs in Oracle. Spring Batch job  →...

 
 
 

Comments

Rated 0 out of 5 stars.
No ratings yet

Add a rating
  • Facebook
  • Twitter
  • LinkedIn

©2024 by AeeroTech. Proudly created with Wix.com

bottom of page