-
Notifications
You must be signed in to change notification settings - Fork 303
Closed
Description
- I have tried with the latest version of my channel (Stable or Edge)
- I have uploaded Diagnostics
- Diagnostics ID:
Expected behavior
Rootless DinD should work
Actual behavior
Rootless DinD doesn't work
$ docker run -it --rm --name dind --privileged docker:dind-rootless --experimental
...
[rootlesskit:child ] error: executing [[ip tuntap add name tap0 mode tap] [ip link set tap0 address <MAC>]]: exit status 1
Minimum reproducer:
$ docker run -it --rm --privileged docker:dind-rootless unshare -rn sh -c "ip tuntap add name tap0 mode tap"
open: Permission denied
Problem /dev/net/tun is not readable by rootless user. Other users should have read-write permission.
Information
- Windows Version: 10.1903.18362.267
- Docker for Mac 2.1.0.1 (37199) (Docker 19.03.1)