Replies: 1 comment
-
$ echo "deb https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/xUbuntu_$(. /etc/os-release && echo $VERSION_ID)/ /" | sudo tee /etc/apt/sources.list.d/devel:kubic:libcontainers:stable.list
$ curl -fsSL https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/xUbuntu_$(. /etc/os-release && echo $VERSION_ID)/Release.key | sudo apt-key add -
$ sudo apt update
$ sudo apt install -y podman
$ if [[ ! -f "/etc/containers/containers.conf" ]]; then
sudo mkdir -p /etc/containers
sudo cp -f /usr/share/containers/containers.conf /etc/containers/containers.conf
fi
$ sudo sed -i "s/.*cgroup_manager.*=.*/cgroup_manager = \"cgroupfs\"/g" /etc/containers/containers.conf
$ sudo sed -i "s/.*events_logger.*=.*/events_logger = \"file\"/g" /etc/containers/containers.conf |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
felipecrs
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The title says all.
Beta Was this translation helpful? Give feedback.
All reactions