Share GPU over multiple VMs

Helps, because the process is very easy on Ubuntu, snapcraft already has pre-compiled package you need to launch your containers. And Ubuntu18.04 already comes with LXD installed :smiley:

In case of Centos you really need to compile your own LXD server I did it before because I was using Scientific Linux (Distro of RedHat) and I wanted to create a container of that Linux … so I had to do it manually.

It’s notthing hard but Ubuntu is much more cheaper. working with LXD it’s like having a cloud in house.

here is my containers running at moment:

+--------+---------+----------------------+------+------------+-----------+
|  NAME  |  STATE  |         IPV4         | IPV6 |    TYPE    | SNAPSHOTS |
+--------+---------+----------------------+------+------------+-----------+
| cuda10 | RUNNING | 192.168.1.149 (eth0) |      | PERSISTENT |           |
+--------+---------+----------------------+------+------------+-----------+
| fastai | RUNNING | 192.168.1.141 (eth0) |      | PERSISTENT |           |
+--------+---------+----------------------+------+------------+-----------+
| sl75   | STOPPED |                      |      | PERSISTENT |           |
+--------+---------+----------------------+------+------------+-----------+

Also this LXD approach , you don’t need even install driver on the Container, because the LXD using another nvidia library by pass that information to the container.