[Users] Granting Hardware access to Container

Noah Dain noahdain at gmail.com
Wed Jul 15 13:30:37 EDT 2009


On Wed, Jul 15, 2009 at 11:21 AM, Vidhya Nagarajan<vids85 at gmail.com> wrote:
> How can a Container be granted access to real devices like network
> interfaces, serial ports, disk partitions, etc?

devices with simple interfaces (serial ports, partitions) can be made
accessible to a container.
see man vzctl(8), section "Device access management"

I don't think physical network interfaces can be made to work in a
container.  There are some options though, like using the alternate
veth network interfaces (they usually are bridged with a physical
interface and show up in a container).

Tun/tap devices can be allocated like a "simple" device via vzctl,
although I've not tried to use one as a regular interface inside a
container.

-n

>
> Vidhya
>
> _______________________________________________
> Users mailing list
> Users at openvz.org
> https://openvz.org/mailman/listinfo/users
>
>

-- 
Noah Dain


More information about the Users mailing list