Page 1 of 1

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

PostPosted: Sun Jan 02, 2022 1:11 am
by cowmix
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

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

PostPosted: Sun Jan 02, 2022 7:59 am
by peterjackson
Very cool. Thanks for the hard work of figuring this all out!

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

PostPosted: Sun Jan 02, 2022 8:47 am
by latridutou
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.

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

PostPosted: Sun Jan 02, 2022 8:58 am
by TheBloke
Very cool. I wonder how easily it would transition to Docker on macOS. Might give that a go sometime. Thanks for posting it.

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

PostPosted: Sun Jan 02, 2022 3:24 pm
by cowmix
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.

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

PostPosted: Sun Jan 02, 2022 6:36 pm
by Devonavar
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.

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

PostPosted: Sun Jan 02, 2022 6:41 pm
by cowmix
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

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

PostPosted: Wed Feb 02, 2022 4:24 am
by cowmix
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!

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

PostPosted: Wed Feb 02, 2022 7:48 am
by Igor Riđanović
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.

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

PostPosted: Thu Aug 03, 2023 11:10 am
by Litoooo
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 :)