Skip to content

What docker pull downloads

Select an icon to see what it is.

Step 2 of 6

dockerd gets a pull token

dockerd calls registry-1.docker.io and gets 401 with a WWW-Authenticate header that names a token service. It asks that service for a token scoped to pull library/nginx. The token goes into every later request as a Bearer header.

GET https://registry-1.docker.io/v2/ -> 401

WWW-Authenticate: Bearer realm="https://auth.docker.io/token",service="registry.docker.io"