Skip to content

Commit

Permalink
docs: fix rootless example docker/podman arguments location
Browse files Browse the repository at this point in the history
Co-authored-by: Ondřej Gajdušek <[email protected]>
  • Loading branch information
Ekhorn and ogajduse committed Jan 12, 2025
1 parent da6ddd9 commit ca9a4d9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/running.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ca9a4d9

Please sign in to comment.