> ## Documentation Index
> Fetch the complete documentation index at: https://docs.coreweave.com/llms.txt
> Use this file to discover all available pages before exploring further.

# How do I run containers with Pyxis and Enroot in Slurm?

Pyxis and Enroot are NVIDIA tools that let you run OCI-compatible container images inside Slurm jobs. SUNK includes Pyxis support, and CoreWeave documents the Enroot AppArmor profile required on managed Nodes. Submit a containerized job by passing `--container-image=[REGISTRY]/[IMAGE]:[TAG]` (and optional `--container-mounts`) to `srun` or `sbatch`.

To run containers with Pyxis and Enroot, see [Install software as containers using Pyxis and Enroot](https://docs.coreweave.com/products/sunk/tutorials/train-on-sunk/1-set-up-slurm-cluster.md#install-software-as-containers-using-pyxis-and-enroot). To set up the AppArmor profile on managed Nodes, see [Set up AppArmor profile for Enroot](https://docs.coreweave.com/products/sunk/manage_sunk/enroot-apparmor.md).

## Troubleshooting

If a containerized job fails, start with the article that matches the error:

* [Why do sudo, chown, and chmod fail inside a Pyxis container?](https://docs.coreweave.com/support/sunk/articles/why-do-permission-errors-occur-in-pyxis-enroot-containers)
* [Why are Slurm commands not found inside a Pyxis container?](https://docs.coreweave.com/support/sunk/articles/why-are-slurm-commands-not-found-inside-a-pyxis-container)
* [Why does Pyxis report File already exists after a job is preempted?](https://docs.coreweave.com/support/sunk/articles/why-does-pyxis-report-file-already-exists-after-preemption)
* [Why are CUDA toolkit libraries missing in a SUNK container?](https://docs.coreweave.com/support/sunk/articles/why-are-cuda-toolkit-libraries-missing-in-sunk-containers)

***

[Workload Scheduling](https://docs.coreweave.com/support/sunk/tags/workload-scheduling.md)
