# docker.update

Update Docker service configuration.

This method is a job.

Type: object

##

Type: array
No Additional Items

#### Tuple Validation

##### Parameter 1: docker_update

#### docker_update

Type: object

Docker update arguments.

No Additional Properties

##

#### Enable Image Updates

Type: boolean

Whether automatic Docker image updates are enabled.

##

#### Pool

Storage pool used for Docker or `null` if not configured.

## Any of

Type: string

Must be at least `1` characters long

Type: null

##

#### Address Pools

Type: array of object

Array of network address pools for container networking.

No Additional Items

##### Each item of this array must be:

#### DockerAddressPool

Type: object
No Additional Properties

##

#### Base

Type: string Format: ipvanyinterface

Base network address with prefix for the pool.

##

#### Size

Type: integer

Subnet size for networks allocated from this pool.

Value must be greater or equal to `1`

##

#### Cidr V6

Type: string Format: ipvanyinterface

IPv6 CIDR block for Docker container networking.

##

#### Registry Mirrors

Type: array of object

Array of registry mirrors.

No Additional Items

##### Each item of this array must be:

#### DockerRegistryMirror

Type: object
No Additional Properties

##

#### Url

Type: string Format: uri

URL of the registry mirror.

Must be at least `1` characters long

Must be at most `2083` characters long

##

#### Insecure

Type: boolean

Whether the registry mirror uses an insecure (HTTP) connection.

##

#### Migrate Applications

Type: boolean

Whether to migrate existing applications when changing pools.

##

#### DockerEntry

Type: object

The updated Docker configuration.

No Additional Properties

##

#### Id

Type: integer

Unique identifier for the Docker configuration.

##

#### Enable Image Updates

Type: boolean

Whether automatic Docker image updates are enabled.

##

#### Dataset

ZFS dataset used for Docker data storage or `null`.

## Any of

Type: string

Must be at least `1` characters long

Type: null

##

#### Pool

Storage pool used for Docker or `null` if not configured.

## Any of

Type: string

Must be at least `1` characters long

Type: null

##

#### Address Pools

Type: array of object

Array of network address pools for container networking.

No Additional Items

##### Each item of this array must be:

#### DockerAddressPool

Type: object
No Additional Properties

##

#### Base

Type: string Format: ipvanyinterface

Base network address with prefix for the pool.

##

#### Size

Type: integer

Subnet size for networks allocated from this pool.

Value must be greater or equal to `1`

##

#### Cidr V6

Type: string

IPv6 CIDR block for Docker container networking.

##

#### Registry Mirrors

Type: array of object

Array of registry mirrors.

No Additional Items

##### Each item of this array must be:

#### DockerRegistryMirror

Type: object
No Additional Properties

##

#### Url

Type: string Format: uri

URL of the registry mirror.

Must be at least `1` characters long

Must be at most `2083` characters long

##

#### Insecure

Type: boolean

Whether the registry mirror uses an insecure (HTTP) connection.

Required roles: DOCKER_WRITE