Using TACC on container host machines

Prev Next

To ensure smooth and efficient operation of containers, you must configure TACC on container host machines.

Container root directory configuration

The container root directory stores the files necessary for running containers. Proper configuration of this directory is required to ensure that containers start and operate correctly, especially when using Kubernetes or other container technologies that rely on overlay file systems.

The configuration path for the container root directory varies depending on the container runtime such as Docker, Containerd, or CRI-O. To configure, use the appropriate command for your container setup:

  • Docker setup: Run the command sadmin config set ContainerRootdir=<path>

    • Example: sadmin config set ContainerRootdir="/var/lib/docker"

  • Containerd setup: Run the command sadmin config set ContainerRootdir=<path>

    • Example: sadmin config set ContainerRootdir="/var/lib/containerd"

  • CRI-O setup: Run the command sadmin config set ContainerRootdir=<path>

    • Example: sadmin config set ContainerRootdir="/var/lib/containers/storage/overlay/"

Note

The root directory value is environment-specific and must be verified using the relevant setup files. For example, in a Containerd setup, check the value against the default or custom configuration files, such as JSON files. For more details, click here.