docker-api amelioration