Skip to content
This repository has been archived by the owner on Nov 3, 2023. It is now read-only.

Commit

Permalink
Add hint for Docker Hub registry name
Browse files Browse the repository at this point in the history
Docker hub uses aliases, so provide a hint for folks
who want to push or pull private images.
  • Loading branch information
dhiltgen committed Feb 16, 2021
1 parent a6aefeb commit c185ebc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,8 @@ kubectl create secret docker-registry mysecret --docker-server='<registry hostna
kubectl build --push --registry-secret mysecret -t <registry hostname>/<namespace>/<repo>:<tag> -f Dockerfile ./
```

Hint: if you're trying to authenticate to Docker Hub, use `https://index.docker.io/v1/` as the `--docker-server`

### Registry-based Caching

BuildKit is smart about caching prior build results for efficient incremental
Expand Down

0 comments on commit c185ebc

Please sign in to comment.