Skip to content

Commit ca9a4d9

Browse files
Ekhornogajduse
andcommitted
docs: fix rootless example docker/podman arguments location
Co-authored-by: Ondřej Gajdušek <[email protected]>
1 parent da6ddd9 commit ca9a4d9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/running.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -119,13 +119,13 @@ docker run \
119119
--volume=$HOME/.local/share/docker/:/var/lib/docker:ro \ # Docker Rootless
120120
# --volume=$HOME/.local/share/containers:/var/lib/containers:ro # Podman Rootless
121121
--volume=/dev/disk/:/dev/disk:ro \
122-
--docker=unix:///var/run/user/$(id -u)/docker.sock \
123-
# --podman=unix:///var/run/user/$(id -u)/podman/podman.sock \ # Podman Rootless
124122
--publish=8080:8080 \
125123
--detach=true \
126124
--name=cadvisor \
127125
--privileged \
128-
gcr.io/cadvisor/cadvisor:$VERSION
126+
gcr.io/cadvisor/cadvisor:$VERSION \
127+
--docker=unix:///var/run/user/$(id -u)/docker.sock
128+
# --podman=unix:///var/run/user/$(id -u)/podman/podman.sock # Podman Rootless
129129
```
130130

131131
## Standalone

0 commit comments

Comments
 (0)