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
1 changed files with 1 additions and 1 deletions
|
@ -26,7 +26,7 @@ As the `rootless` user:
|
|||
```bash
|
||||
export XDG_RUNTIME_DIR=/home/rootless/.docker/run
|
||||
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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue