---
title: Docker
url: https://docs.vultr.com/reference/vultr-cli/container-registry/credentials/docker
description: Docker authentication credentials for accessing Vultr Container Registry to push and pull container images
publish_date: 2025-09-14T03:02:33.680176Z
last_updated: 2025-11-07T17:41:06.511616Z
---

The `vultr-cli container-registry credentials docker` command retrieves Docker authentication credentials for your Vultr container registry, enabling you to log in and access your private repositories.

## Usage

```console
$ vultr-cli container-registry credentials docker <Registry ID> [flags]
```

## Examples

```console
# Full example
$ vultr-cli container-registry credentials docker d24cfdcc-0534-4700-bf88-8ee48f20064e
```

## Flags
| Shorthand | Long Version | Description |
|-----------|--------------|-------------|
| -e | --expiry-seconds | (optional) The seconds until these credentials expire. Default is 0, never |
| -w | --read-write | (optional) Whether or not these credentials have write access. Should be true or false. Default is false |