Difference between revisions of "Podman"

From wikieduonline
Jump to navigation Jump to search
Line 20: Line 20:
 
* <code>podman-attach</code> - Attach to a running container
 
* <code>podman-attach</code> - Attach to a running container
 
* <code>podman-build</code> - Build a container image using a Containerfile
 
* <code>podman-build</code> - Build a container image using a Containerfile
 +
* <code>[[podman ps]]</code>
  
 
== Activities ==
 
== Activities ==

Revision as of 13:40, 28 April 2020

Podman[1] is a daemonless container engine for developing, managing, and running OCI Containers on Linux.

Podman was included in May 2019 in RHEL 8.0[2]

Install

Ubuntu

18.04, 19.04 and 19.10.

. /etc/os-release
sudo sh -c "echo 'deb https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/xUbuntu_${VERSION_ID}/ /' > /etc/apt/sources.list.d/devel:kubic:libcontainers:stable.list"
curl -L https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/xUbuntu_${VERSION_ID}/Release.key | sudo apt-key add -
sudo apt-get update -qq
sudo apt-get -qq -y install podman

Mac OS

brew cask install podman

Basic Commands

http://docs.podman.io/en/latest/Commands.html

  • podman-attach - Attach to a running container
  • podman-build - Build a container image using a Containerfile
  • podman ps

Activities

See also

  • https://podman.io/
  • https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html-single/building_running_and_managing_containers/index#podman
  • Advertising: