Howto podman: Difference between revisions

From Vidalinux Wiki
Jump to navigation Jump to search
Line 2: Line 2:
install podman packages:
install podman packages:
  pacman -Syu podman podman-compose  
  pacman -Syu podman podman-compose  
= install podman rhel/almalinux/rocky =
= install podman centos/almalinux/rocky =
install podman packages:
yum -y install podman
 
= install podman debian/ubuntu =
= install podman debian/ubuntu =
install podman packages:
install podman packages:

Revision as of 23:32, 30 January 2023

install podman archlinux

install podman packages:

pacman -Syu podman podman-compose 

install podman centos/almalinux/rocky

install podman packages:

yum -y install podman

install podman debian/ubuntu

install podman packages:

apt-get -y install podman

commands

create container image:

podman build -f Dockerfile

list containers that are running or have exited:

podman ps -a

remove a container image by its image:

podman rmi docker.io/library/almalinux:8

pull container image from docker.io:

podman pull docker.io/library/almalinux:9