Skip to main content

Podman 🦕

·196 words·1 min· loading · loading · · ·
SIRPS
Author
SIRPS
SystemSoftdev. Interested in Electronic Devices and Computers
Table of Contents

What is Podman ??
#

  • Podman is a daemonless container engine and an open source tool that is compatible with Docker’s features while improving security and usability.
  • Podman is an open source tool that is breaking new ground in container technology.

Why use Podman ??
#

  1. Running containers without root
  2. No central daemon is required.(Daemonless architecture)
  3. A better security model (Security-Focused Design)
  • Support for running rootless containers
  • Take advantage of user namespaces
  • Use more limited Linux kernel features by default
  1. High Compatible with Docker commands
  • Docker CLI command support
  • Docker image available
  • Docker Compose file compatibility
  • Existing Docker users can easily switch to Podman
  1. Basic system integration
  2. Reduce resource consumption
  3. Kubernetes integration
  • Unlike Docker, it can interact directly with Kubernetes clusters without a separate Kubernetes runtime, simplifying developers’ workflow.

Podman vs Docker: What’s the Difference?
#

  • Unlike Docker, Podman manages containers directly, without a central daemon running in the background. This provides the following benefits:

Install Podman

sudo apt-get install podman

Pull an image

podman pull nginx
podman images

Run a container

podman run -d –name nginx-container -p 8080:80 nginx

Nginx Edit configuration file

podman exec nginx-container nginx -T
podman exec -it nginx-container /bin/bash
vim /etc/nginx/nginx.conf