9

I'm trying to create a rough equivalent of Docker's --privileged in a systemd container, but I've got no idea how to allow the container to access all of the devices available on the host (without manually enumerating them).

I came across Access usb device from systemd-nspawn container and a nice --privileged description at https://github.com/rkt/rkt/issues/2962#issuecomment-235444606 , but I don't know how to put the bits together.

I also tried the naive --bind=/dev but this way there was no standard output and the container never started.

Any hints how to handle this?

1

0

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.