docker / docker/cli

docker login/pull and bearer token

Open
#1,018 0 comments 4 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

area/authentication area/distribution
Dominant language
Go
Stars
6.1k
Forks
2.2k
Avg merge
1d 15h
Merged PRs (30d)
43

Description

I'm trying to use bearer token providing by dockerhub in config.json. I'm able to pull an image with some sort of scripting with curl and docker load but using the same Authorization header as for curl in config.json doesn't make any sense.

Are there any guidelines how to use docker login/pull commands with tokens?

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 reviewing the docker login and docker pull flows described in the issue, comparing bearer-token use in config.json with the curl request and subsequent docker load. Clarify whether the desired outcome is documented token usage or a CLI change; done should mean a clear, supported answer or a reproducible limitation.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker
Domain
authentication, cli
Issue type
Documentation
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.