Podman study notes

#Podman

What is podman?

Overview

podman is an engine for developing, managing and running OCI containers without a daemon. Container can run under root authority or non-root authority. A simple comparison: docker=podman.
 

Detailed introduction:

podman is an open source project that can be applied to most linux platforms and is currently open source on github. podman is a daemonless engine for developing, managing and running open source containers (OCI) and container images. Podman provides a docker-compatible command line work, which can be simply called docker cli.
 
Containers managed by podman can run in root privileged mode or non-privileged mode. Podman can also manage the entire container ecosystem, including Pods, containers, container images, and container volumes that use the libpod library. Podman focuses on improving the command line and related functions to help you maintain and modify the OCI container image. Like pulling and tagging. It allows you to create, run, and maintain containers in a production environment.
 
The podman service can only be run on the Linux platform, but it provides a rest api to facilitate the use of mac and windows platforms. There is currently a podman that can run on mac and windows platforms to allow remote management of podman running on linux platforms.
 

client: podman/mac_win_client.md at master · containers/podman · GitHub

Overview and scope

At a higher level, the scope of functions of libpod and podman is as follows:
 

  • Supports multiple image formats, including OCI and Docker image formats.
  • Supports multiple ways to download images safely, including trust and verification.
  • Container image management (including image layer and file system).
  • Full life cycle management of containers.
  • Support to manage multiple pods in groups.
  • Resource isolation between container and pod.

route map:

  • Allow podman CLI to use REST API to connect to remote podman services.
  • Integrate libpod to CRI-O to replace the existing container management backend.
  • Familiar with the pod command line of podman.
  • Continuously improve non-privileged containers.
     
      
      

installation

Podman study notes

materials

Client:
    MAC

Podman Server:
    Centos7

Client Podman CLI installation command:

brew install podman

Podman Server installation:

sudo curl -L -o /etc/yum.repos.d/devel:kubic:libcontainers:stable.repo https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/CentOS_7/devel:kubic:libcontainers:stable.repo
sudo yum -y install yum-plugin-copr
sudo yum -y copr enable lsm5/container-selinux
sudo yum -y install podman

Guess you like

Origin blog.51cto.com/mianbao/2562373