NVIDIA / enroot

A simple yet powerful tool to turn traditional container/OS images into unprivileged sandboxes.
Apache License 2.0
637 stars 94 forks source link

handle docker-compose step when using multiple docker containers #115

Open MoeBensu opened 2 years ago

MoeBensu commented 2 years ago

Hi,

I am completely new to enroot. So, excuase any beginners questions.

I have this model and deploy it right away using docker. However, I work right now in a new environment to me (a head node in Slurm cluster with enroot).

After some reading in Enroot docs, it seems it's straightforward to use docker images by simply creating repos for them on docker hub and then import them via enroot. However, I am still not able to find a way in how to go about docker-compse step?

Thank you!

3XX0 commented 2 years ago

There is no support for Docker compose, so you will have to translate each service in the compose file to a container launch. The easiest is to use Pyxis and write a sbatch script that mimics what compose is doing.