Skip to content
 
 

Latest commit

 

History

17 Commits

Folders and files

Repository files navigation

Blender (Headless) Docker Container

Note

Open Source Notice
This repository is adapted from HaiyiMei/blender-docker-headless, which licensed under Apache 2.0.

license

🚀 This repository provides a bunch of Docker images for Blender optimized for headless rendering. It fully supports both EEVEE and CYCLES render engines with GPU acceleration through EGL.

Usage

docker run -it --rm --gpus all \
           -v $(pwd):/workspace \
           -w /workspace \
           kigland/blender:4.5.3-cuda12.8.1

Build

We provide both modifed Dockerfile for global Dockerfile and the Mainland China Dockerfile.China version seperately.

docker build -t kigland/blender:4.5.3-cuda12.8.1 . \
    --build-arg BLENDER_VERSION=4.5.3 \
    --build-arg UBUNTU_CUDA_VERSION=12.8.1-cudnn-devel-ubuntu24.04

Test

docker run --rm --gpus all \
           -v $(pwd):/workspace \
           -w /workspace \
           kigland/blender:4.5.3-cuda12.8.1 blender -b --python tests/render_eevee.py
docker run --rm --gpus all \
           -v $(pwd):/workspace \
           -w /workspace \
           kigland/blender:4.5.3-cuda12.8.1 blender -b --python tests/render_cycles.py

Transparency and Mirrors

We use following mirror sites in different dockerfile versions.

Mirror Provider Mirror Site Original Original Site Dockerfile Version
Tsinghua University https://mirrors.tuna.tsinghua.edu.cn/ Blender https://www.blender.org/download China
Aliyun http://mirrors.aliyun.com Ubuntu Deb Source http://archive.ubuntu.com China
oopsunix https://gh.llkk.cc GitHub https://github.com China
RWTH Aachen University https://ftp.halifax.rwth-aachen.de Blender https://www.blender.org/download Global

Key

  • EGL support and libglvnd.
  • Enable the graphics capability for environment variable NVIDIA_DRIVER_CAPABILITIES, doc.

Releases

Packages

Contributors

Languages