Hack to make Modulus containers run with DockerSpawner (or projects like ML Hub).
Motivation: Modulus' container has CMD
set to null
istead of empty list []
, therefore starting it through ML Hub crashes DockerSpawner.
docker build -t dimensionlab/modulus-mlhub:24.01 -f Dockerfile .
Put a custom Docker image into the Spawner Options in ML Hub: