What is Nostr?
Todd A. Jacobs /
npub1pr9…7jqy
2025-01-09 23:24:16
in reply to nevent1q…7g2u

Todd A. Jacobs on Nostr: nprofile1q…x2r82 You also need root privileges to bind mount a host's /proc or /sys ...

nprofile1qy2hwumn8ghj7un9d3shjtnddaehgu3wwp6kyqpqkjn5y6evs5rkcelfzqk4vgrh75u8gdx48slx04hvhhc0chw90qds9x2r82 (nprofile…2r82) You also need root privileges to bind mount a host's /proc or /sys filesystems inside a container. An example is getting USB tree output from a Linux host without LSB tools or usb-utils installed/available, e.g. #TrueNAS.

```sh
docker run --privileged -it --rm alpine:latest "apk update && apk add usbutils && lsusb -t"
```

This works for anyone in the docker group since the Docker daemon usually has root capabilities and defaults to a root tty in the target container.
Author Public Key
npub1pr930cwru9pxsw5az8x0r6wl4chv08t705w0e4eujvlkgm72crfsrg7jqy