078507b9d2bc4fb3b567ff914b8d9f13cd0d3a9d
				
			
			
		
	HOWTO
This targets Nvidia and Arch, and nothing else, I'm old and lazy.
Note that there's currently an issue with the AUR packages for Nvidia's container toolkit. See this issue for details and a workaround.
- Build stable-diffusion-ui from AUR, put it here as stable-diffusion-ui.pkg.tar.zst.
- Set up GPU access in podman
- Run the following:
podman build --no-cache . -t 'stable-diffusion-ui-server
podman run -it --device nvidia.com/gpu=all --security-opt=label=disable --name stable-diffusion-ui -p 9000:9000 -v ./data:/opt/stable-diffusion-ui -e NVIDIA_DRIVER_CAPABILITIES=compute,utility localhost/stable-diffusion-ui-server
browser http://localhost:9000
Description
				
					Languages
				
				
								
								
									Dockerfile
								
								64%
							
						
							
								
								
									Shell
								
								36%