class Client

Class Client.

Constants

BASE_URL

Methods

__construct(Curl $curl, string $docker_host)

No description

mixed
list(array $filters = [])

No description

mixed
inspect(string $id)

No description

mixed
logs(string $id, bool $details = false, bool $follow = false, bool $stdout = false, bool $stderr = false, int $since = 0, bool $timestamps = false, string $tail = 'all')

No description

Details

at line 22
__construct(Curl $curl, string $docker_host)

Parameters

Curl $curl
string $docker_host

at line 43
mixed list(array $filters = [])

Parameters

array $filters desired-state=(running | shutdown | accepted) id= label=key or label="key=value" name= node= service=

Return Value

mixed

Exceptions

Exception

at line 57
mixed inspect(string $id)

Parameters

string $id

Return Value

mixed

Exceptions

Exception

at line 69
mixed logs(string $id, bool $details = false, bool $follow = false, bool $stdout = false, bool $stderr = false, int $since = 0, bool $timestamps = false, string $tail = 'all')

Parameters

string $id
bool $details
bool $follow
bool $stdout
bool $stderr
int $since
bool $timestamps
string $tail

Return Value

mixed

Exceptions

Exception

See also