JAEN

Docker

docker login

CautionRegistry login

docker login <registry>

Authenticates to a registry; pipe the secret via --password-stdin. Auth failures break push/pull.

Examples

  • echo $TOKEN | docker login ghcr.io -u user --password-stdinLogin with a piped token

Syntax

docker login [registry] [-u user]

Before you run it

Inline passwords leak into history.

Used when you see

ImagePullBackOff
3
Confirm registry login works
See the whole flow →

Related commands

The same reference, with no signal at all

Every command and flow from this site, held on your device and searchable with no connection. Free to install, no ads.

Get it free on the App Store