Docker
class Docker extends Container
Constants
VERSION |
|
DOCKER_HEALTH_STARTING |
|
DOCKER_HEALTH_HEALTHY |
|
DOCKER_HEALTH_UNHEALTHY |
|
DOCKER_HEALTH_NONE |
|
DOCKER_STATUS_CREATED |
|
DOCKER_STATUS_RESTARTING |
|
DOCKER_STATUS_RUNNING |
|
DOCKER_STATUS_REMOVING |
|
DOCKER_STATUS_PAUSED |
|
DOCKER_STATUS_EXITED |
|
DOCKER_STATUS_DEAD |
|
Properties
protected | $providers | ||
Client | $config | ||
Client | $container | ||
Client | $distribution | ||
Client | $image | ||
Client | $network | ||
Client | $plugin | ||
Client | $secret | ||
Client | $swarm | ||
Client | $node | ||
Client | $service | ||
Client | $system | ||
Client | $task | ||
Client | $volume | ||
Curl | $curl | ||
string | $docker_host |
Methods
__construct(array $option, Curl $curl)
No description
static array
createOptionArray(string|null $docker_host, bool $docker_tls_verify = false, string $docker_cert_path = null, string $docker_username = null, string $docker_password = null, string $docker_registry = null, int $docker_timeout = 0)
No description
connection(string $name = 'default')
No description
mixed
__get($name)
No description
__call($name, $arguments)
No description
version()
No description
Client
config()
No description
Details
at line 80
__construct(array $option, Curl $curl)
at line 113
static array
createOptionArray(string|null $docker_host, bool $docker_tls_verify = false, string $docker_cert_path = null, string $docker_username = null, string $docker_password = null, string $docker_registry = null, int $docker_timeout = 0)
at line 132
connection(string $name = 'default')
at line 156
static Docker
docker(array $option)
单例模式.