Howto podman: Difference between revisions

From Vidalinux Wiki
Jump to navigation Jump to search
(Created page with "= install podman archlinux = install podman packages: pacman -Syu podman podman-compose = install podman rhel/almalinux/rocky = = install podman debian/ubuntu = = commands = create container image: podman build -f Dockerfile")
 
Line 7: Line 7:
create container image:
create container image:
  podman build -f Dockerfile
  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

Revision as of 23:28, 30 January 2023

install podman archlinux

install podman packages:

pacman -Syu podman podman-compose 

install podman rhel/almalinux/rocky

install podman debian/ubuntu

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