Install Ubuntu in an LXC/LXD container on an NVIDIA Jetson Nano

Hi there,

I am trying to install an Ubuntu image into an lxc container, running on Jetson Nano (or a Xavier), but I can’t find out the proper image.

I made a pretty clean installation/inicialization of lxd.

ubuntu@jetsonnano:~$ lxc list
To start your first container, try: lxc launch ubuntu:18.04

+------+-------+------+------+------+-----------+
| NAME | STATE | IPV4 | IPV6 | TYPE | SNAPSHOTS |
+------+-------+------+------+------+-----------+
ubuntu@jetsonnano:~$ lxc --version
3.0.3
ubuntu@jetsonnano:~$ lxd --version
3.0.3

Graber (https://ubuntu.com/blog/nvidia-cuda-inside-a-lxd-container) explained something about it, but his premises were an NVidia GT 730 card on a x86 platform. I have something quite different, Jetson Nano is an embedded system-on-module, aarch64 based architecture that runs a customized Ubuntu 18.04 (called Tegra).

Under usual circumstances I would do lxc launch ubuntu:22.04, but I believe it would install a wrong image. Does any one know what image must be used?

Hi,

The container is for desktop x86 users.
You can try to build it from the source to see if it can work on Jetson, an ARM system.

Thanks.

In fact, I have already installed and it is working fine, it wasn’t necessary to build it from source, apt did the job. Even though it is running on an ARM, lxc is ready for use. It passes in all tests. What I need is an OS image for Nvidia hardware.

Hi,

Do you mean you have fixed this issue already?
Thanks.

1 Like

I mean that installing lxc has never been an issue. My question is what image should I use.

Hi,

For Jetson, you can find some containers in our NGC page:

Thanks.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.