Creating custom DreamCompute images from docker images?

Is there a way to create a custom image from a Docker file? I know when you create a new image is gives the option to select docker as the format so that’s why I’m asking? if so is there a guide?