examples/vm/rootless-docker.md aktualisiert
Depending on the VM's existing users the id can vary
This commit is contained in:
parent
e6630e2e36
commit
0c90e31e9b
@ -26,7 +26,7 @@ As the `rootless` user:
|
|||||||
```bash
|
```bash
|
||||||
export XDG_RUNTIME_DIR=/home/rootless/.docker/run
|
export XDG_RUNTIME_DIR=/home/rootless/.docker/run
|
||||||
export PATH=/home/rootless/bin:$PATH
|
export PATH=/home/rootless/bin:$PATH
|
||||||
export DOCKER_HOST=unix:///run/user/1001/docker.sock
|
export DOCKER_HOST=unix:///run/user/$(id -u)/docker.sock
|
||||||
```
|
```
|
||||||
|
|
||||||
- Reboot. Ensure that the Docker process is working.
|
- Reboot. Ensure that the Docker process is working.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user