Podman
- Anand Nerurkar
- Feb 15
- 1 min read
Updated: Feb 16


Features
==
Rootless Container
Running and anaging container as a normal user without using root user.
Multicontainer Pods
Podman run container in pods.
Daemonless
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
===
IT is like Docker desktop ,managing podman container and k8.
Installation
===
on Ubuntu
==

windows
==
download from below


on ubuntu

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


save file and exit

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







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.






we will make use of ngInx image for the demo.
---
search nginx container image with
podman search nginx
use podman run coomand to create new container image for nginx
podman run container iamge
podman run -it nginx



container is running
to stop container
---
control +c

to start
==
podman start conitner name
access contianer uslong localhost
==

podman stop continer-name


will create endpoint with golang
==
install golang

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









Pushing contianer image
===


dockerhub as contianer registry
===


once image is created , then list it with podman images
pushing images
==



pull images
==


run it
--






Comments