Added -w to wait until the container is in Running State.