top of page

Podman

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

Updated: Feb 16

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

    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


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









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.

---

  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



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

--








 
 
 

Recent Posts

See All
SOC2

SOC 2  (System and Organization Controls 2) is a widely recognized compliance framework  that evaluates how an organization manages...

 
 
 
RTO & RPO

✅ 1. What is RTO (Recovery Time Objective)? Definition: RTO is the maximum acceptable downtime  after a failure or disaster.It defines...

 
 
 

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