You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I am using an Ubuntu 22.04 LTS LXC container via Proxmox 7.4-17.
The Nvidia GPU has been successfully passed through to said LXC container.
I was also able to successfully install the Nvidia Container Toolkit and ran the sample workload with one slight modification to the command from Nvidia's website:
$ sudo docker run --rm --runtime=nvidia --security-opt apparmor:unconfined --gpus all ubuntu nvidia-smi
Where I had to add in the --security-opt apparmor:unconfined flag to be able to get that going.
Repo version: should be from master as I just ran git clone https://github.com/AbdBarho/stable-diffusion-webui-docker.git
RAM: 16 GB
GPU/VRAM: 6 GB
Steps to Reproduce
In Promox 7.4-17, create Ubuntu 22.04 LTS privileged LXC container.
Pass the Nvidia GPU (in my case, I have a RTX A2000 6 GB GPU) card from the host to the LXC container by editing the <<CTID>>.conf file as shown above.
Install the Nvidia driver with the --no-kernel-modules flag, inside the container.
Has this issue been opened before?
Describe the bug
I am using an Ubuntu 22.04 LTS LXC container via Proxmox 7.4-17.
The Nvidia GPU has been successfully passed through to said LXC container.
I was also able to successfully install the Nvidia Container Toolkit and ran the sample workload with one slight modification to the command from Nvidia's website:
$ sudo docker run --rm --runtime=nvidia --security-opt apparmor:unconfined --gpus all ubuntu nvidia-smi
Where I had to add in the
--security-opt apparmor:unconfined
flag to be able to get that going.My
<<CTID>>.conf
looks like this:Which UI
N/A
Hardware / Software
git clone https://github.com/AbdBarho/stable-diffusion-webui-docker.git
Steps to Reproduce
<<CTID>>.conf
file as shown above.--no-kernel-modules
flag, inside the container.sudo docker compose --profile download up --build
Additional context
Here is the output of
nvidia-smi
:The text was updated successfully, but these errors were encountered: