Make it work with a newer docker-api.