From e900ee200e545c19b3253f98a34f53d68561620e Mon Sep 17 00:00:00 2001 From: Maxime Brunet Date: Sun, 9 Jul 2023 10:53:23 -0700 Subject: [PATCH] docs(podman): add usage for rootless mode on macOS --- docs/usage/advanced/podman.md | 21 +++++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-) diff --git a/docs/usage/advanced/podman.md b/docs/usage/advanced/podman.md index 75c96911e9..cb5edb53fb 100644 --- a/docs/usage/advanced/podman.md +++ b/docs/usage/advanced/podman.md @@ -108,7 +108,6 @@ podman machine start ``` Grab connection details -> note: root connection details must be used ``` podman system connection ls @@ -126,9 +125,27 @@ Host localhost IdentityFile /Users/myusername/.ssh/podman-machine-default ``` -Export the docker environment variables referenced above and create the cluster +#### Rootless mode +Delegate the `cpuset` cgroup controller to the user's systemd slice, export the docker environment variables referenced above for the non-root connection, and create the cluster: + +```bash +podman machine ssh bash -e <