Change the docker startup to wait before