Is there any possibilities to run TrueNAS in a container?

Hi TrueNAS Community,

I would like to test TrueNAS as a container. I tried to do it in the following manner.

mkdir rootfs unsquashfs
mount -o loop /home/zakee/Downloads/ISOs/TrueNAS-SCALE-24.04.2.3.iso rootfs
unsquashfs -f -d unsquashfs/ rootfs/live/filesystem.squashfs
tar -C unsquashfs -c . | podman import - truenas/1
podman run -dit truenas/1:latest
podman run -p 1024:80 -dit truenas/1:latest /bin/sh

Anyway, the TrueNAS did not start to work, when I type in the browser localhost:1024. Most probably it must be because it did not go through the regular installation process. Do you know any way to do the installation within the container.

Thanks.

No, there is not.

fin.

No way to do that today, we require a full kernel for a lot of things. Maybe someday, but that would still be a ways off.

You can run TrueNAS in a VM.

You can run a VM in a container.

VM within a container? That’s just cheating :slight_smile:

1 Like

What could possibly go wrong? :smile:

go big or go home!
Memory only OS-->Container-->VM-->TN