Sign in (original) (raw)

Sign in to Docker Desktop

Docker recommends signing in with the Sign in option in the top-right corner of the Docker Dashboard.

In large enterprises where admin access is restricted, administrators canenforce sign-in.

Explore Docker's core subscriptions to see what else Docker can offer you.

Docker Desktop automatically signs you out after 90 days, or after 30 days of inactivity.

Docker Desktop for Linux relies on pass to store credentials in GPG-encrypted files. Before signing in to Docker Desktop with yourDocker ID, you must initialize pass. Docker Desktop displays a warning if pass is not configured.

  1. Generate a GPG key. You can initialize pass by using a gpg key. To generate a gpg key, run:
  2. Enter your name and email once prompted.
    Once confirmed, GPG creates a key pair. Look for the pub line that contains your GPG ID, for example:
  3. Copy the GPG ID and use it to initialize pass
    You should see output similar to:

Once you initialize pass, you can sign in and pull your private images. When Docker CLI or Docker Desktop use credentials, a user prompt may pop up for the password you set during the GPG key generation.