Harbor question with insecure HTTP
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 10.3k
- Forks
- 1.5k
- Avg merge
- 1d 23h
- Merged PRs (30d)
- 48
Description
Hello, I'm new to Buildkit. Currently trying to build and push the image to Harbor on the intranet through Buildkit. The Buildkit image I used is "moby/buildkit:master-rootless", and Harbor does not use HTTPS. The problem now is that Buildkit uses HTTPS for image push by default, and I have not found how to use HTTP push. And I tried to mount buildkit.toml (configuration registry.http=true) to "~/.local/share/buildkit", but found that it had no effect. How should I solve this problem?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by examining how the master-rootless image loads buildkit.toml and applies registry.http=true, especially relative to ~/.local/share/buildkit. Reproduce an image push to the HTTP Harbor registry and verify whether the configuration is being read and changes the push protocol.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, go
- Domain
- devops, infrastructure
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100