Fixed more bugs with deploying docker images and containers