IndexInfo
Table of Contents
- $mirrors : array<string|int, string>|null
- List of mirrors, expressed as URIs.
- $name : string|null
- Name of the registry, such as "docker.io".
- $official : bool|null
- Indicates whether this is an official registry (i.e., Docker Hub / docker.io).
- $secure : bool|null
- Indicates if the registry is part of the list of insecure.
- getMirrors() : array<string|int, string>|null
- List of mirrors, expressed as URIs.
- getName() : string|null
- Name of the registry, such as "docker.io".
- getOfficial() : bool|null
- Indicates whether this is an official registry (i.e., Docker Hub / docker.io).
- getSecure() : bool|null
- Indicates if the registry is part of the list of insecure.
- setMirrors() : self
- List of mirrors, expressed as URIs.
- setName() : self
- Name of the registry, such as "docker.io".
- setOfficial() : self
- Indicates whether this is an official registry (i.e., Docker Hub / docker.io).
- setSecure() : self
- Indicates if the registry is part of the list of insecure.
Properties
$mirrors
List of mirrors, expressed as URIs.
protected
array<string|int, string>|null
$mirrors
$name
Name of the registry, such as "docker.io".
protected
string|null
$name
$official
Indicates whether this is an official registry (i.e., Docker Hub / docker.io).
protected
bool|null
$official
$secure
Indicates if the registry is part of the list of insecure.
protected
bool|null
$secure
unknown CAs) communication.
Warning: Insecure registries can be useful when running a local
Methods
getMirrors()
List of mirrors, expressed as URIs.
public
getMirrors() : array<string|int, string>|null
Return values
array<string|int, string>|null —getName()
Name of the registry, such as "docker.io".
public
getName() : string|null
Return values
string|null —getOfficial()
Indicates whether this is an official registry (i.e., Docker Hub / docker.io).
public
getOfficial() : bool|null
Return values
bool|null —getSecure()
Indicates if the registry is part of the list of insecure.
public
getSecure() : bool|null
unknown CAs) communication.
Warning: Insecure registries can be useful when running a local registry. However, because its use creates security vulnerabilities it should ONLY be enabled for testing purposes. For increased security, users should add their CA to their system's list of trusted CAs instead of enabling this option.
Return values
bool|null —setMirrors()
List of mirrors, expressed as URIs.
public
setMirrors(array<string|int, string>|null $mirrors) : self
Parameters
- $mirrors : array<string|int, string>|null
Return values
self —setName()
Name of the registry, such as "docker.io".
public
setName(string|null $name) : self
Parameters
- $name : string|null
Return values
self —setOfficial()
Indicates whether this is an official registry (i.e., Docker Hub / docker.io).
public
setOfficial(bool|null $official) : self
Parameters
- $official : bool|null
Return values
self —setSecure()
Indicates if the registry is part of the list of insecure.
public
setSecure(bool|null $secure) : self
unknown CAs) communication.
Warning: Insecure registries can be useful when running a local registry. However, because its use creates security vulnerabilities it should ONLY be enabled for testing purposes. For increased security, users should add their CA to their system's list of trusted CAs instead of enabling this option.
Parameters
- $secure : bool|null