Update docker api version and make dependency compatible with the changes