Make the docker endpoint a flag.