Skip to content

Latest commit

 

History

History
44 lines (30 loc) · 965 Bytes

podman-notes.md

File metadata and controls

44 lines (30 loc) · 965 Bytes

System setup for running drove with rootless podman

Note: podman support is experimental at this point of time. Additionally, Please read through the following notes on rootless podman on podman github

Create userspace socket

systemctl --user enable --now podman.socket

Enable cpu and cpuset delegate

Check using:

cat "/sys/fs/cgroup/user.slice/user-$(id -u).slice/user@$(id -u).service/cgroup.controllers"

if it shows only memory pids do the following:

sudo su
vim /etc/systemd/system/[email protected]/delegate.conf

add the following content.

[Service]
Delegate=memory pids cpu cpuset

Logout and login again.

Executor config setup

Use the following option in executor YAML config to point drove to podman rootless socket

options:
  # other options
  dockerSocketPath: /path/to/podman.sock