Can docker pull、docker login (conveniently) support HTTP? Can't command line support using HTTP and unverified certificates with parameters?
Open
Nobody has claimed this yet.
kind/feature
status/0-triage
- Dominant language
- Go
- Stars
- 6.1k
- Forks
- 2.2k
- Avg merge
- 1d 15h
- Merged PRs (30d)
- 43
Description
Description
docker pull login不能(很方便的)支持http吗?命令行不能带参数支持使用http、不验证证书?
{
"builder": {
"gc": {
"defaultKeepStorage": "20GB",
"enabled": true
}
},
"experimental": false,
"insecure-registries": [
"harbor.tower0788.cn"
],
"registry-mirrors": [
"https://docker.1ms.run"
]
}
PS C:\Users\12001> docker pull harbor.tower0788.cn/devops/openjdk@sha256:a996cdcc040704ec6badaf5fecf1e144c096e00231a29188596c784bcf858d05
Error response from daemon: failed to resolve reference "harbor.tower0788.cn/devops/openjdk@sha256:a996cdcc040704ec6badaf5fecf1e144c096e00231a29188596c784bcf858d05": failed to do request: Head "https://harbor.tower0788.cn/v2/devops/openjdk/manifests/sha256:a996cdcc040704ec6badaf5fecf1e144c096e00231a29188596c784bcf858d05": dialing harbor.tower0788.cn:443 container via direct connection because Docker Desktop has no HTTPS proxy: connecting to harbor.tower0788.cn:443: dial tcp 10.38.57.6:443: connectex: No connection could be made because the target machine actively refused it.
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 reproducing the shown docker pull command and compare it with the requested docker login behavior. Read the Docker CLI handling for registry-related options and determine whether the requested HTTP and certificate-verification controls belong in the CLI; done means the supported command-line behavior and its boundaries are clearly defined.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, go
- Domain
- cli, networking
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100