Documentation

SystemVersion

Table of Contents

$apiVersion  : string|null
The default (and highest) API version that is supported by the daemon.
$arch  : string|null
The architecture that the daemon is running on.
$buildTime  : string|null
The date and time that the daemon was compiled.
$components  : array<string|int, SystemVersionComponentsItem>|null
Information about system components.
$experimental  : bool|null
Indicates if the daemon is started with experimental features enabled.
$gitCommit  : string|null
The Git commit of the source code that was used to build the daemon.
$goVersion  : string|null
The version Go used to compile the daemon, and the version of the Go.
$kernelVersion  : string|null
The kernel version (`uname -r`) that the daemon is running on.
$minAPIVersion  : string|null
The minimum API version that is supported by the daemon.
$os  : string|null
The operating system that the daemon is running on ("linux" or "windows").
$platform  : SystemVersionPlatform|null
$version  : string|null
The version of the daemon.
getApiVersion()  : string|null
The default (and highest) API version that is supported by the daemon.
getArch()  : string|null
The architecture that the daemon is running on.
getBuildTime()  : string|null
The date and time that the daemon was compiled.
getComponents()  : array<string|int, SystemVersionComponentsItem>|null
Information about system components.
getExperimental()  : bool|null
Indicates if the daemon is started with experimental features enabled.
getGitCommit()  : string|null
The Git commit of the source code that was used to build the daemon.
getGoVersion()  : string|null
The version Go used to compile the daemon, and the version of the Go.
getKernelVersion()  : string|null
The kernel version (`uname -r`) that the daemon is running on.
getMinAPIVersion()  : string|null
The minimum API version that is supported by the daemon.
getOs()  : string|null
The operating system that the daemon is running on ("linux" or "windows").
getPlatform()  : SystemVersionPlatform|null
getVersion()  : string|null
The version of the daemon.
setApiVersion()  : self
The default (and highest) API version that is supported by the daemon.
setArch()  : self
The architecture that the daemon is running on.
setBuildTime()  : self
The date and time that the daemon was compiled.
setComponents()  : self
Information about system components.
setExperimental()  : self
Indicates if the daemon is started with experimental features enabled.
setGitCommit()  : self
The Git commit of the source code that was used to build the daemon.
setGoVersion()  : self
The version Go used to compile the daemon, and the version of the Go.
setKernelVersion()  : self
The kernel version (`uname -r`) that the daemon is running on.
setMinAPIVersion()  : self
The minimum API version that is supported by the daemon.
setOs()  : self
The operating system that the daemon is running on ("linux" or "windows").
setPlatform()  : self
setVersion()  : self
The version of the daemon.

Properties

$apiVersion

The default (and highest) API version that is supported by the daemon.

protected string|null $apiVersion

$arch

The architecture that the daemon is running on.

protected string|null $arch

$buildTime

The date and time that the daemon was compiled.

protected string|null $buildTime

$experimental

Indicates if the daemon is started with experimental features enabled.

protected bool|null $experimental

$gitCommit

The Git commit of the source code that was used to build the daemon.

protected string|null $gitCommit

$goVersion

The version Go used to compile the daemon, and the version of the Go.

protected string|null $goVersion

$kernelVersion

The kernel version (`uname -r`) that the daemon is running on.

protected string|null $kernelVersion

$minAPIVersion

The minimum API version that is supported by the daemon.

protected string|null $minAPIVersion

$os

The operating system that the daemon is running on ("linux" or "windows").

protected string|null $os

$version

The version of the daemon.

protected string|null $version

Methods

getApiVersion()

The default (and highest) API version that is supported by the daemon.

public getApiVersion() : string|null
Return values
string|null

getArch()

The architecture that the daemon is running on.

public getArch() : string|null
Return values
string|null

getBuildTime()

The date and time that the daemon was compiled.

public getBuildTime() : string|null
Return values
string|null

getExperimental()

Indicates if the daemon is started with experimental features enabled.

public getExperimental() : bool|null

This field is omitted when empty / false.

Return values
bool|null

getGitCommit()

The Git commit of the source code that was used to build the daemon.

public getGitCommit() : string|null
Return values
string|null

getGoVersion()

The version Go used to compile the daemon, and the version of the Go.

public getGoVersion() : string|null

runtime in use.

Return values
string|null

getKernelVersion()

The kernel version (`uname -r`) that the daemon is running on.

public getKernelVersion() : string|null

This field is omitted when empty.

Return values
string|null

getMinAPIVersion()

The minimum API version that is supported by the daemon.

public getMinAPIVersion() : string|null
Return values
string|null

getOs()

The operating system that the daemon is running on ("linux" or "windows").

public getOs() : string|null
Return values
string|null

getVersion()

The version of the daemon.

public getVersion() : string|null
Return values
string|null

setApiVersion()

The default (and highest) API version that is supported by the daemon.

public setApiVersion(string|null $apiVersion) : self
Parameters
$apiVersion : string|null
Return values
self

setArch()

The architecture that the daemon is running on.

public setArch(string|null $arch) : self
Parameters
$arch : string|null
Return values
self

setBuildTime()

The date and time that the daemon was compiled.

public setBuildTime(string|null $buildTime) : self
Parameters
$buildTime : string|null
Return values
self

setExperimental()

Indicates if the daemon is started with experimental features enabled.

public setExperimental(bool|null $experimental) : self

This field is omitted when empty / false.

Parameters
$experimental : bool|null
Return values
self

setGitCommit()

The Git commit of the source code that was used to build the daemon.

public setGitCommit(string|null $gitCommit) : self
Parameters
$gitCommit : string|null
Return values
self

setGoVersion()

The version Go used to compile the daemon, and the version of the Go.

public setGoVersion(string|null $goVersion) : self

runtime in use.

Parameters
$goVersion : string|null
Return values
self

setKernelVersion()

The kernel version (`uname -r`) that the daemon is running on.

public setKernelVersion(string|null $kernelVersion) : self

This field is omitted when empty.

Parameters
$kernelVersion : string|null
Return values
self

setMinAPIVersion()

The minimum API version that is supported by the daemon.

public setMinAPIVersion(string|null $minAPIVersion) : self
Parameters
$minAPIVersion : string|null
Return values
self

setOs()

The operating system that the daemon is running on ("linux" or "windows").

public setOs(string|null $os) : self
Parameters
$os : string|null
Return values
self

setVersion()

The version of the daemon.

public setVersion(string|null $version) : self
Parameters
$version : string|null
Return values
self

Search results