Hi there, this might rather be an issue in form of a feature request, but in the HPC world, the preferred containerisation technology is Singularity rather than Docker. There are python libraries for handling Singularity in a similar way as Docker can be handled:
https://github.com/singularityhub/singularity-cli. I could try to mimic the Docker task templates that are provided in prefect with singularity instead, would such a feature be useful for the community?