---
sidebar_label: Docker registry
doc_id: 5b9ae8ce-4c0f-452f-9814-107cae8b5275
description: >-
  Configuration settings for Docker registry as an asset repository with
  authentication and path management.
keywords:
  - docker
  - registry
  - container
  - repository
  - authentication
---

# Docker registry

Defines the settings for docker server as an asset repository.

**Type**: `docker-server`

**Properties**

|Name|Type|Description|Required|
|----|----|-----------|--------|
|[**setup**](#setup)|`object`|Registry connection details<br/>|yes|

**Additional Properties:** not allowed  
**Example**

```json
{
    "setup": {
        "path": "myorg/team-a",
        "server": "https://registry.hub.docker.com"
    }
}
```

<a name="setup"></a>
## setup: Setup

Registry connection details

**Properties**

|Name|Type|Description|Required|
|----|----|-----------|--------|
|**path**<br/>(Registry Path)|`string`|Base path for images<br/>Minimal Length: `1`<br/>|no|
|**server**<br/>(Server URL)|`string`|Docker registry URL<br/>Minimal Length: `1`<br/>|yes|
|**password**|`string`|Registry password or token<br/>Minimal Length: `1`<br/>|yes|
|**username**|`string`|Registry username<br/>Minimal Length: `1`<br/>|yes|
|**use\_namespace**|`boolean`|Use namespace for folder structure<br/>|no|

**Additional Properties:** not allowed  
**Example**

```json
{
    "path": "myorg/team-a",
    "server": "https://registry.hub.docker.com"
}
```

