---
title: '`glab auth docker-helper`'
stage: AI Coding
group: Code Review
info: To determine the technical writer assigned to the Stage/Group associated with this page, see <https://handbook.gitlab.com/handbook/product/ux/technical-writing/#assignments>
---

<!--
This documentation is auto generated by a script.
Please do not edit this file directly. Run `make gen-docs` instead.
-->

A Docker credential helper for GitLab container registries.

## Synopsis

Responds to Docker credential helper requests for GitLab container
registries. Docker invokes this command automatically.

```plaintext
glab auth docker-helper [flags]
```

## Examples

```console
# Docker invokes the helper automatically; supported actions are 'store', 'get', and 'erase'.
# Retrieve the stored credentials for a registry:
echo registry.gitlab.com | glab auth docker-helper get
```

## Options inherited from parent commands

```plaintext
  -h, --help   Show help for this command.
```
