From my understanding to complete a "docker push" the user must be logged in first, e.g. "docker login registry.external".
From the documentation at spec/auth/token.md it says:
Attempt to begin a push/pull operation with the registry.
- If the registry requires authorization it will return a 401 Unauthorized HTTP response with information on how to authenticate.
- The registry client makes a request to the authorization service for a signed JSON Web Token.
- The authorization service returns a token.
- The client retries the original request with the token embedded in the request header.
- The Registry authorizes the client and begins the push/pull session as usual.
Is there an assumption before these steps start that the user is authenticated?
From my understanding to complete a "docker push" the user must be logged in first, e.g. "docker login registry.external".
From the documentation at spec/auth/token.md it says:
Attempt to begin a push/pull operation with the registry.
Is there an assumption before these steps start that the user is authenticated?