Search This Blog

Sunday 21 April 2019

What is Podman?

Podman is a tool to manage containers/pods based on dockercli.

Podman is an open-source project that is available on most Linux platforms. 
Podman is a daemonless container engine for developing, managing, and running Open Container Initiative (OCI) containers and container images on your Linux System. 
Podman provides a Docker-compatible command line front end that can simply alias the Docker cli, `alias docker=podman`

Podman can either be run by root or by a non-privileged user.
Podman manages the entire container ---> pods, containers, container images, and container volumes. It allows you to create, run, and maintain those containers .
created from those images in a production environment.

Installation:
 yum install podman -y
 podman --version

list  of commands
 podman ps (running containers)
 podman ps  -a (all containers)
 podman logs  --latest(to see latests logs)
 podman top <container_id>(to see containers PID)
 podman container checkpoint <container_id> (checkpointing the container)
 podman container restore <container_id> (restoring the container)
 podman stop  --latest (stop the container)
 podman rm <container name>
 podman run -it ubuntu
 podman exec -it ubuntu
 podman images
 podman info
 podman pull imagename

 
 

No comments:

Post a Comment