Containers

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

Contents

  • Creating and Managing Containers: Tutorials for configuring the TrueNAS Containers feature, creating, and managing containers.

    • Containers Screens: Provides information on the Containers screens and settings to add containers or virtual machines (VMs) to your TrueNAS system.

      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

      Containers Screens

      Containers Screen

      The Containers screen allows users to add, edit, or manage Linux containers.

      The Containers screen displays No Containers before you create the first container.

      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 use 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