Can docker pull、docker login (conveniently) support HTTP? Can't command line support using HTTP and unverified certificates with parameters?
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 35/100
- Issue type
- Feature
- Clarity
- Needs clarification
- Activity status
- Quiet
- Tech stack
- docker, go
- Domain
- cli, networking
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.
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.
- Dominant language
- Go
- Stars
- 6.1k
- Forks
- 2.2k
- Avg merge
- 1d 10h
- Merged PRs (30d)
- 47
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.
More from docker/cli
-
kind/bug status/0-triage
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
kind/bug status/0-triage
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
-
kind/feature status/0-triage
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
-
kind/bug status/0-triage
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Similar issues
-
textual definition
Difficulty 1/5 Under an hour Newbie friendliness 90/100
geneontology/go-ontology#32653 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 75/100
-
needs design
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
Priority/High ready-for-agent Severity/Major Type/Bug
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100