This script demonstrates how to run Docker containers on an HTCondor cluster that doesn't have Docker installed, by using udocker to run them in userspace.
udocker has limited compatibility with many images,
depending on what you're trying to run.
In particular, you can't run sudo
or change users inside the container.
As an alternative to udocker, you may be able to use Singularity if your cluster has it installed.