From ca9a4d91512bd7ea49f69fef273a87f9aa8c51d5 Mon Sep 17 00:00:00 2001 From: Ekhorn <44117179+Ekhorn@users.noreply.github.com> Date: Sun, 12 Jan 2025 17:33:21 +0100 Subject: [PATCH] docs: fix rootless example docker/podman arguments location MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Ondřej Gajdušek --- docs/running.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/running.md b/docs/running.md index 915295ed64..292ff797ab 100644 --- a/docs/running.md +++ b/docs/running.md @@ -119,13 +119,13 @@ docker run \ --volume=$HOME/.local/share/docker/:/var/lib/docker:ro \ # Docker Rootless # --volume=$HOME/.local/share/containers:/var/lib/containers:ro # Podman Rootless --volume=/dev/disk/:/dev/disk:ro \ - --docker=unix:///var/run/user/$(id -u)/docker.sock \ - # --podman=unix:///var/run/user/$(id -u)/podman/podman.sock \ # Podman Rootless --publish=8080:8080 \ --detach=true \ --name=cadvisor \ --privileged \ - gcr.io/cadvisor/cadvisor:$VERSION + gcr.io/cadvisor/cadvisor:$VERSION \ + --docker=unix:///var/run/user/$(id -u)/docker.sock + # --podman=unix:///var/run/user/$(id -u)/podman/podman.sock # Podman Rootless ``` ## Standalone