transfered some docker-specific logic from runs controller to docker_kickstart controller