Class ResolvedDockerHost
java.lang.Object
org.springframework.boot.buildpack.platform.docker.configuration.DockerHost
org.springframework.boot.buildpack.platform.docker.configuration.ResolvedDockerHost
Resolves a
DockerHost
from the environment, configuration, or using defaults.- Since:
- 2.7.0
- Author:
- Scott Frederick
-
Method Summary
Modifier and TypeMethodDescriptionstatic ResolvedDockerHost
from
(DockerConfiguration.DockerHostConfiguration dockerHostConfiguration) Deprecated, for removal: This API element is subject to removal in a future version.static ResolvedDockerHost
from
(DockerConnectionConfiguration connectionConfiguration) Create a newResolvedDockerHost
from the given host configuration.boolean
boolean
isRemote()
Methods inherited from class org.springframework.boot.buildpack.platform.docker.configuration.DockerHost
getCertificatePath, isSecure
-
Method Details
-
getAddress
- Overrides:
getAddress
in classDockerHost
-
isRemote
public boolean isRemote() -
isLocalFileReference
public boolean isLocalFileReference() -
from
@Deprecated(since="3.5.0", forRemoval=true) public static ResolvedDockerHost from(DockerConfiguration.DockerHostConfiguration dockerHostConfiguration) Deprecated, for removal: This API element is subject to removal in a future version.since 3.5.0 for removal in 4.0.0 in favor offrom(DockerConnectionConfiguration)
Create a newResolvedDockerHost
from the given host configuration.- Parameters:
dockerHostConfiguration
- the host configuration ornull
- Returns:
- the resolved docker host
-
from
Create a newResolvedDockerHost
from the given host configuration.- Parameters:
connectionConfiguration
- the host configuration ornull
- Returns:
- the resolved docker host
-
from(DockerConnectionConfiguration)