Skip to content

Hack to make Modulus containers run with DockerSpawner

License

Notifications You must be signed in to change notification settings

DimensionLab/modulus-mlhub

Repository files navigation

modulus-mlhub

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.

Building the Dockerfile

docker build -t dimensionlab/modulus-mlhub:24.01 -f Dockerfile .

Using the container

Put a custom Docker image into the Spawner Options in ML Hub:

ML Hub setup