instruction: Explain Create an account
output: Back
  Ask AI
  Start typing to search or try
  Contact support
  Manuals
  Get started
  Guides
  Create a Docker account
  Page options
  Copy page as Markdown for LLMs
  View page as plain text
  Ask questions with Docs AI
  Claude
  Open in Claude
  You can create a free Docker account with your email address or by signing up
  with your Google or GitHub account. After creating a unique Docker ID, you can
  access all Docker products, including Docker Hub, Docker Desktop, and Docker Scout.
  Your Docker ID becomes your username for hosted Docker services, and
  Docker forums
  Explore
  Docker's subscriptions
  to see what
  else Docker can offer you.
  Create an account
  You can sign up with an email address or use your Google or GitHub account.
  Sign up with your email
  Go to the
  Docker sign-up page
  Enter a unique, valid email address.
  Enter a username to use as your Docker ID. Once you create your Docker ID
  you can't reuse it in the future if you deactivate this account.
  Your username:
  Must be between 4 and 30 characters long
  Can only contain numbers and lowercase letters
  Enter a password that's at least 9 characters long.
  Select
  Sign Up
  Open your email client. Docker sends a verification email to the
  address you provided.
  Verify your email address to complete the registration process.
  Note
  You must verify your email address before you have full access to Docker's
  features.
  Sign up with Google or GitHub
  Important
  To sign up with your social provider, you must verify your email address with
  your provider before you begin.
  Go to the
  Docker sign-up page
  Select your social provider, Google or GitHub.
  Select the social account you want to link to your Docker account.
  Select
  Authorize Docker
  to let Docker access your social account
  information. You will be re-routed to the sign-up page.
  Enter a username to use as your Docker ID.
  Your username:
  Must be between 4 and 30 characters long
  Can only contain numbers and lowercase letters
  Select
  Sign up
  Sign in to your account
  You can sign in with your email, Google or GitHub account, or from
  the Docker CLI.
  Sign in with email or Docker ID
  Go to the
  Docker sign in page
  Enter your email address or Docker ID and select
  Continue
  Enter your password and select
  Continue
  To reset your password, see
  Reset your password
  Sign in with Google or GitHub
  Important
  Your Google or GitHub account must have a verified email address.
  You can sign in using your Google or GitHub credentials. If your social
  account uses the same email address as an existing Docker ID, the
  accounts are automatically linked.
  If no Docker ID exists, Docker creates a new account for you.
  Docker doesn't currently support linking multiple sign-in methods
  to the same Docker ID.
  Sign in using the CLI
  Use the
  docker login
  command to authenticate from the command line. For
  details, see
  docker login
  Warning
  docker login
  command stores credentials in your home directory under
  .docker/config.json
  . The password is base64-encoded.
  To improve security, use
  Docker credential helpers
  For even stronger protection, use a
  personal access token
  instead of a password. This is especially useful in CI/CD environments
  or when credential helpers aren't available.
  Reset your password
  To reset your password:
  Go to the
  Docker sign in page
  Enter your email address.
  When prompted for your password, select
  Forgot password?
  Troubleshooting
  If you have a paid Docker subscription,
  contact the Support team
  for assistance.
  All Docker users can seek troubleshooting information and support through the
  following resources, where Docker or the community respond on a best effort
  basis:
  Docker Community Forums
  Docker Community Slack
  
  ## Example Dockerfile
  
  ```dockerfile
  # Use official base image
  FROM node:16-alpine
  
  # Set working directory
  WORKDIR /app
  
  # Copy and install dependencies
  COPY package*.json ./
  RUN npm ci --only=production
  
  # Copy application code
  COPY . .
  
  # Expose port
  EXPOSE 3000
  
  # Health check
  HEALTHCHECK --interval=30s --timeout=3s --start-period=5s --retries=3 \
    CMD curl -f http://localhost:3000/health || exit 1
  
  # Run application
  CMD ["npm start"]
  ```
  
  ## Docker Compose Example
  
  ```yaml
  version: '3.8'
  services:
    app:
      build: .
      ports:
        - "3000:3000"
      environment:
        - NODE_ENV=production
      volumes:
        - ./data:/app/data
      restart: unless-stopped
  ```