Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Stevesibilia authored Oct 9, 2024
1 parent 861293b commit 0c3e453
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,12 @@ Or via environment variables:
```bash
PROXY_LISTEN=localhost:1234 PROXY_REGISTRY=https://us-docker.pkg.dv/example-project/example-repo gcp-artifact-registry-docker-proxy
```

To configure docker daemon with Gcp Artifact Registry Docker Proxy add registry-mirror to /etc/docker/daemon.json (on linux):

```bash
{
"registry-mirrors": ["http://localhost:1234/<YOUR GCP PROJECT NAME>/<ARTIFACT REGISTRY NAME>/"],
"insecure-registries": ["localhost:1234"]
}
```

0 comments on commit 0c3e453

Please sign in to comment.