Improved container init, display output by using docker logs and automatically exit when init is completed