Skip to content

Latest commit

 

History

History
73 lines (54 loc) · 1.89 KB

README.md

File metadata and controls

73 lines (54 loc) · 1.89 KB

overlayfs-podman-ubuntu

Shell scripts to set up Podman container runtine, crun, and OverlayFS in Ubuntu. Podman containers run faster and safer when powered by overlayfs and crun.

These scripts are intended to set up rootless Podman (most popular way to use it) and run in a fresh Ubuntu environment. Ubuntu >= 20.04 is required due to cgroup v2 support.

Environment setup

chmod +x set-up-system.sh set-up-current-user.sh

Set up crun, fuse-overlayfs, and podman

sudo ./set-up-system.sh

./set-up-current-user.sh

Expected results

podman info

Make sure the output contains something similar to:

---
ociRuntime:
  name: crun
  package: Unknown
  path: /usr/local/bin/crun
  version: |-
    crun version 0.13.105-077b
    commit: 077bebbba5fb6ae1ad7a48a53fd4cb8ab559a74e
    spec: 1.0.0
    +SYSTEMD +SELINUX +APPARMOR +CAP +SECCOMP +EBPF +YAJL...
rootless: true
---
store:
  configFile: /home/ubuntu/.config/containers/storage.conf
  graphDriverName: overlay
  graphOptions:
    overlay.mount_program:
      Executable: /usr/bin/fuse-overlayfs
      Package: "fuse-overlayfs: /usr/bin/fuse-overlayfs"

How to contribute

Please make sure to take a moment and read the Code of Conduct.

Report issues

Please report bugs and suggest features via the GitHub Issues.

Before opening an issue, search the tracker for possible duplicates. If you find a duplicate, please add a comment saying that you encountered the problem as well.

Contribute code

Please make sure to read the Contributing Guide before making a pull request.