how to install podman in ubuntu debian

preview_player
Показать описание

How to Install Podman in Linux debian ubuntu
Podman installation from scratch
build libpod

apt -y update

apt -y iproute2 sudo

apt -y install \
vim \
curl \
gcc \
make \
cmake \
git \
btrfs-progs \
golang-go \
go-md2man \
iptables \
libassuan-dev \
libc6-dev \
libdevmapper-dev \
libglib2.0-dev \
libgpgme-dev \
libgpg-error-dev \
libostree-dev \
libprotobuf-dev \
libprotobuf-c-dev \
libseccomp-dev \
libselinux1-dev \
libsystemd-dev \
pkg-config \
runc \
uidmap \
libapparmor-dev

install GOLANG

export GOPATH=~/go
cd $GOPATH
git checkout tags/go1.10.8 # optional
cd src
export PATH=$GOPATH/bin:$PATH

Install conmon

cd ~
cd conmon
export GOCACHE="$(mktemp -d)"
make
sudo make podman
sudo cp /usr/local/libexec/podman/conmon /usr/local/bin/

Configure CNI

sudo mkdir -p /etc/cni/net.d

Install CNI Plugins

cd ~

Add Podman configuration registries,policy

cd ~
sudo mkdir -p /etc/containers

Install PODMAN

cd ~
make BUILDTAGS="selinux seccomp"
Рекомендации по теме
Комментарии
Автор

I am getting this error, when i run podman commands,

ERRO[0000] Error loading CNI config file error parsing configuration: missing 'type'
REPOSITORY TAG IMAGE ID CREATED SIZE
docker.io/library/debian 10 5890f8ba95f6 2 weeks ago 119 MB

syamilivijay