Google's Magenta project can be challenging to run on your host due to hardware and Python dependencies.
Chelsea E. Manning's has an earlier project which aimed to dockerize an early version of Magenta. But, both Tensorflow and Magenta have evovled quite a bit since then.
So, here's a Dockerfile for Magenta 2.14.0 on its listed dependency, Tensorflow 2.9.1.
The container is intended to be run in heterogenous environments where GPU accelration - even AVX - may not be available. Magenta is installed via Conda to workaround an AVX support issue.