DaVinci Resolve [Studio] in Docker/Podman containers (Linux)

Get answers to your questions about color grading, editing and finishing with DaVinci Resolve.
  • Author
  • Message
Offline

cowmix

  • Posts: 32
  • Joined: Sat Jan 01, 2022 11:32 pm
  • Real Name: Michael March

DaVinci Resolve [Studio] in Docker/Podman containers (Linux)

PostSun Jan 02, 2022 1:11 am

Here's a simpler/more universal way to install and run Resolve from Linux. Benefits include:

* Resolve runs from its native CentOS environment no matter which Linux you host it from
* Can have multiple tagged versions of Resolve for testing and quickly revert to older releases
* Can use both free and paid environments on same host machine
* Easy upgrade path when NVIDIA, CentOS, or Resolve have updates
* Fast deployment to multiple machines (though please respect the license!)
* Support for Speed Editor/dongles (have not tried Decklink anything)
* Isolate Resolve-related files from normal host computer stuff
* Share fonts from host computer to Resolve
* Create independent workspace profiles
* Disable network access for Resolve container only (while host computer remains online)
* Configurable via environment variables (with sane defaults)

Put this together with friends online. NVIDIA driver only (in this version-- could modify to support other GPUs). I'm running it in Ubuntu, but you could probably use it on any x86_64 Linux machine that supports Docker or Podman, including CentOS itself.

Details in the README.md file.

https://github.com/fat-tire/resolve
Last edited by cowmix on Wed Feb 02, 2022 4:28 am, edited 1 time in total.
Offline

peterjackson

  • Posts: 1182
  • Joined: Sat Aug 18, 2018 7:12 pm
  • Real Name: Peter Jackson

Re: DaVinci Resolve [Studio] in Docker/Podman containers

PostSun Jan 02, 2022 7:59 am

Very cool. Thanks for the hard work of figuring this all out!
5950x, 3090, 128GB.
Offline
User avatar

latridutou

  • Posts: 36
  • Joined: Thu Oct 17, 2019 8:30 am
  • Real Name: Latri Dutou

Re: DaVinci Resolve [Studio] in Docker/Podman containers

PostSun Jan 02, 2022 8:47 am

This looks like the safest way to test multiple versions of Resolve on the same machine (given one uses a different local database for each). Thanks for hacking it. With time and community effort this could become a well polished script; and 1st goto for linux installations.
Offline
User avatar

TheBloke

  • Posts: 1905
  • Joined: Sat Nov 02, 2019 11:49 pm
  • Location: UK
  • Real Name: Tom Jobbins

Re: DaVinci Resolve [Studio] in Docker/Podman containers

PostSun Jan 02, 2022 8:58 am

Very cool. I wonder how easily it would transition to Docker on macOS. Might give that a go sometime. Thanks for posting it.
Resolve Studio 17.4.3 and Fusion Studio 17.4.3 on macOS 11.6.1

Hackintosh:: X299, Intel i9-10980XE, 128GB DDR4, AMD 6900XT 16GB
Monitors: 1 x 3840x2160 & 3 x 1920x1200
Disk: 2TB NVMe + 4TB RAID0 NVMe; NAS: 36TB RAID6
BMD Speed Editor
Offline

cowmix

  • Posts: 32
  • Joined: Sat Jan 01, 2022 11:32 pm
  • Real Name: Michael March

Re: DaVinci Resolve [Studio] in Docker/Podman containers

PostSun Jan 02, 2022 3:24 pm

TheBloke wrote:Very cool. I wonder how easily it would transition to Docker on macOS. Might give that a go sometime. Thanks for posting it.


I tried getting this to work under Windows 11 (using WSL2) but it turns out only CUDA is exposed to WSL2, not a generic GPU device.
Offline

Devonavar

  • Posts: 117
  • Joined: Thu Feb 18, 2021 11:29 pm
  • Location: Canada
  • Real Name: Devon Cooke

Re: DaVinci Resolve [Studio] in Docker/Podman containers

PostSun Jan 02, 2022 6:36 pm

Nice. I'm glad this exists.

I'll probably avoid it because I have a working system, and I don't want to deal with the headache of separate databases ... it's important that every installation sees the same postgres installation.

Curious to know how much file space the container occupies.
Devon Cooke

The Hands that Feed Us
www.thehandsthatfeedus.ca
Resolve Studio 19.1.2
Offline

cowmix

  • Posts: 32
  • Joined: Sat Jan 01, 2022 11:32 pm
  • Real Name: Michael March

Re: DaVinci Resolve [Studio] in Docker/Podman containers

PostSun Jan 02, 2022 6:41 pm

Devonavar wrote:Nice. I'm glad this exists.

I'll probably avoid it because I have a working system, and I don't want to deal with the headache of separate databases ... it's important that every installation sees the same postgres installation.

Curious to know how much file space the container occupies.


~ 6 gb in podman and ~ 8 gb in Docker
Offline

cowmix

  • Posts: 32
  • Joined: Sat Jan 01, 2022 11:32 pm
  • Real Name: Michael March

Re: DaVinci Resolve [Studio] in Docker/Podman containers

PostWed Feb 02, 2022 4:24 am

Quick update-- with the new NVIDIA driver today and the EOL of Centos 8 on 12/31 (and the main update repo apparently shutting down yesterday), just wanted to letch'all know the github repo just got updated . So now you can again install the latest DaVinci Resolve in Centos 8 Stream going forward. Confirmed working on Podman and Docker. Hope we did it right! Please reply with any issues or concerns. Peace out!
Offline
User avatar

Igor Riđanović

  • Posts: 1656
  • Joined: Thu Jul 02, 2015 5:11 am
  • Location: Los Angeles, Calif.

Re: DaVinci Resolve [Studio] in Docker/Podman containers (Li

PostWed Feb 02, 2022 7:48 am

This is great. It's been a while since I tried running it in a container, but I could never get the Nvidia driver working.
www.metafide.com - DaVinci Resolve™ Apps
Offline

Litoooo

  • Posts: 1
  • Joined: Thu Aug 03, 2023 11:02 am
  • Real Name: Miguel-Angel Fernandez

Re: DaVinci Resolve [Studio] in Docker/Podman containers (Li

PostThu Aug 03, 2023 11:10 am

Hello everyone;

Thank you so much for this technique ! I was in a bad situtation and you help me a lot, DA is working again ! :)

So now I have Davinci Resolve Studio 18.5B (Build 39) on my Ubuntu 23.04. But with containers, Resolve only acces to the directory inside. So its "mounts/resolve-home". I tried de mount a USB key and solid state but, DA do not see files inside directory. My system can, but don't have permission when I mount in the mounts/resolve-home/XXX.

Some one have a clue or a solution ?

Thanks again :)

Return to DaVinci Resolve

Who is online

Users browsing this forum: Google [Bot], mpetech and 304 guests