```prefect agent start docker -t TOKEN_HERE -l loc...
# prefect-community
g
Copy code
prefect agent start docker -t TOKEN_HERE -l local_agent --volume $Env:GOOGLE_APPLICATION_CREDENTIALS:/home/service_account.json --env GOOGLE_APPLICATION_CREDENTIALS=/home/service_account.json

 ____            __           _        _                    _
|  _ \ _ __ ___ / _| ___  ___| |_     / \   __ _  ___ _ __ | |_
| |_) | '__/ _ \ |_ / _ \/ __| __|   / _ \ / _` |/ _ \ '_ \| __|
|  __/| | |  __/  _|  __/ (__| |_   / ___ \ (_| |  __/ | | | |_
|_|   |_|  \___|_|  \___|\___|\__| /_/   \_\__, |\___|_| |_|\__|
                                           |___/

[2020-10-29 17:58:56,091] INFO - agent | Starting DockerAgent with labels ['local_agent']
[2020-10-29 17:58:56,091] INFO - agent | Agent documentation can be found at <https://docs.prefect.io/orchestration/>
[2020-10-29 17:58:56,092] INFO - agent | Agent connecting to the Prefect API at <https://api.prefect.io>
[2020-10-29 17:58:56,211] INFO - agent | Waiting for flow runs...
[2020-10-29 17:59:22,897] INFO - agent | Found 1 flow run(s) to submit for execution.
[2020-10-29 17:59:23,071] INFO - agent | Deploying flow run 7c642664-2e1d-4599-a0a2-c4c4f9496579
[2020-10-29 17:59:23,072] INFO - agent | Pulling image <http://gcr.io/GCLOUD_PROJECT/flows/internal-data/aggasetl2:2020-10-27t22-42-21-305568-00-00|gcr.io/GCLOUD_PROJECT/flows/internal-data/aggasetl2:2020-10-27t22-42-21-305568-00-00>...
[2020-10-29 17:59:24,540] ERROR - agent | Logging platform error for flow run 7c642664-2e1d-4599-a0a2-c4c4f9496579
[2020-10-29 17:59:24,846] ERROR - agent | Error while deploying flow: APIError(HTTPError('500 Server Error: Internal Server Error for url: <http+docker://localnpipe/v1.40/images/create?tag=2020-10-27t22-42-21-305568-00-00&fromImage=gcr.io%2FPROJECT%2Fflows%2Finternal-data%2Faggasetl2'>))