moby / moby/buildkit

Harbor question with insecure HTTP

Open
#4,795 0 comments 0 reactions 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.