Skip to content

Instantly share code, notes, and snippets.

@jamesseanwright
Created August 22, 2023 12:59
Show Gist options
  • Save jamesseanwright/c9e57191247d22ccef606672a91790f4 to your computer and use it in GitHub Desktop.
Save jamesseanwright/c9e57191247d22ccef606672a91790f4 to your computer and use it in GitHub Desktop.
docker run command for rendering Blender projects within a container using the CUDA Cycles device
$ docker run --rm --runtime=nvidia --gpus all -e NVIDIA_VISIBLE_DEVICES=all \
-v ./blendervol:/blendervol \
nytimes/blender:3.3.1-gpu-ubuntu18.04 \
blender -b /blendervol/monster_under_the_bed_sss_demo_by_metin_seven.blend -o blendervol/monster_CONTAINER.jpg -F JPEG -f 1 -E CYCLES -- --cycles-device CUDA
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment