This is such a good question! While not possible today, this is definitely something we are exploring! Our biggest priority is making sure that users continue to have a great user experience with Connect, and adding the complexities of docker / containers is something we want to make sure we strike a good balance between flexibility, rigor, and approachability.
Do you have any additional detail you can share? What type of application / how did you build the docker container / would you use Kubernetes in your ideal case?