ComparativeGenomicsToolkit / cactus

Official home of genome aligner based upon notion of Cactus graphs
Other
523 stars 111 forks source link

Force single_machine inside cactus docker #1204

Closed glennhickey closed 1 year ago

glennhickey commented 1 year ago

This will hopefully avoid confusion (example) where people try to use their cluster from inside a Container and get errors because the cluster environment is not accessible in the container.

Now running anything but single-machine from inside the container will print out a (hopefully) very clear error message right away.

The very tiny minority of users who are able to hack things so that they somehow can use their cluster from inside a container will have to just add an CACTUS_INSIDE_DOCKER=0 to their command to override this behaviour.