- Full name:
\IterativeCode\Component\DockerClient\DockerClient
DockerClient constructor.
public __construct(array $options = []): mixedParameters:
| Parameter | Type | Description |
|---|---|---|
$options |
array |
public info(): arraypublic version(): arraypublic listContainers(array $options = []): arrayParameters:
| Parameter | Type | Description |
|---|---|---|
$options |
array |
public stopContainer( $id): boolParameters:
| Parameter | Type | Description |
|---|---|---|
$id |
**** |
public startContainer( $id): arrayParameters:
| Parameter | Type | Description |
|---|---|---|
$id |
**** |
public runContainer( $name, $payload): false|stringParameters:
| Parameter | Type | Description |
|---|---|---|
$name |
**** | |
$payload |
**** |
public inspectContainer( $id): arrayParameters:
| Parameter | Type | Description |
|---|---|---|
$id |
**** |
public getContainerStats( $id, false $oneShot = false): arrayParameters:
| Parameter | Type | Description |
|---|---|---|
$id |
**** | |
$oneShot |
false |
public getContainerLogs( $id, string $level = 'all'): stringParameters:
| Parameter | Type | Description |
|---|---|---|
$id |
**** | |
$level |
string |
public deleteContainer( $id, bool $force = false): boolParameters:
| Parameter | Type | Description |
|---|---|---|
$id |
**** | |
$force |
bool |
Deletes stopped containers
public pruneContainers(mixed $label = null): arrayParameters:
| Parameter | Type | Description |
|---|---|---|
$label |
mixed |
public imageExists( $name): boolParameters:
| Parameter | Type | Description |
|---|---|---|
$name |
**** |
public listImages(null $label = null): arrayParameters:
| Parameter | Type | Description |
|---|---|---|
$label |
null |
public inspectImage( $nameOrId): arrayParameters:
| Parameter | Type | Description |
|---|---|---|
$nameOrId |
**** |
public pullImage( $image): voidParameters:
| Parameter | Type | Description |
|---|---|---|
$image |
**** |
public removeImage( $image, $force = false): voidParameters:
| Parameter | Type | Description |
|---|---|---|
$image |
**** | |
$force |
**** |
Automatically generated from source code comments on 2022-09-27 using phpDocumentor and saggre/phpdocumentor-markdown