examples/vm/rootless-docker.md aktualisiert Some checks failed checks / check and test (pull_request) Has been cancelled
Some checks failed
checks / check and test (pull_request) Has been cancelled
Depending on the VM's existing users the id can vary
This commit is contained in:
@@ -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. | ||||
| ||||
Reference in New Issue
Block a user