TrueNAS
Products
Support & Resources
Solutions
Company
Sign In

Containers

TrueNAS supports Linux containers (LXC) for lightweight, isolated application environments that share the host system kernel.

Contents

Creating and Managing Containers

Linux containers, powered by LXC, offer a lightweight, isolated environment that shares the host system kernel while maintaining its own file system, processes, and network settings. Containers start quickly, use fewer system resources than virtual machines (VMs), and scale efficiently, making them ideal for deploying and managing scalable applications with minimal overhead.

What system resources do containers require?

Containers are lightweight and share the host kernel, requiring fewer resources than virtual machines. However, proper resource allocation ensures optimal performance and system stability.

Read full post gdoc_arrow_right_alt

Accessing NAS from VMs and Containers

If you want to access your TrueNAS directories from within a virtual machine or container hosted on the system, you have multiple options:

  • Allow TrueNAS to create an automatic bridge (default).

  • Manually create a bridge interface if you have only one physical interface.

  • Assign a NIC other than the primary one your TrueNAS server uses if you have more than one physical interface. This method makes communication more flexible but does not offer the potential speed benefits of a bridge.

Read full post gdoc_arrow_right_alt