parametrize the url to Docker's API endpoint