Skip to content

Commit 0c3e453

Browse files
authored
Update README.md
1 parent 861293b commit 0c3e453

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,12 @@ Or via environment variables:
1818
```bash
1919
PROXY_LISTEN=localhost:1234 PROXY_REGISTRY=https://us-docker.pkg.dv/example-project/example-repo gcp-artifact-registry-docker-proxy
2020
```
21+
22+
To configure docker daemon with Gcp Artifact Registry Docker Proxy add registry-mirror to /etc/docker/daemon.json (on linux):
23+
24+
```bash
25+
{
26+
"registry-mirrors": ["http://localhost:1234/<YOUR GCP PROJECT NAME>/<ARTIFACT REGISTRY NAME>/"],
27+
"insecure-registries": ["localhost:1234"]
28+
}
29+
```

0 commit comments

Comments
 (0)