Class DockerConfiguration
java.lang.Object
org.springframework.boot.buildpack.platform.docker.configuration.DockerConfiguration
Docker configuration options.
- Since:
- 2.4.0
- Author:
- Wei Jiang, Scott Frederick
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetHost()
boolean
withBindHostToBuilder
(boolean bindHostToBuilder) withBuilderRegistryUserAuthentication
(String username, String password, String url, String email) withContext
(String context) withPublishRegistryUserAuthentication
(String username, String password, String url, String email)
-
Constructor Details
-
DockerConfiguration
public DockerConfiguration()
-
-
Method Details
-
getHost
-
isBindHostToBuilder
public boolean isBindHostToBuilder() -
getBuilderRegistryAuthentication
-
getPublishRegistryAuthentication
-
withHost
-
withContext
-
withBindHostToBuilder
-
withBuilderRegistryTokenAuthentication
-
withBuilderRegistryUserAuthentication
public DockerConfiguration withBuilderRegistryUserAuthentication(String username, String password, String url, String email) -
withPublishRegistryTokenAuthentication
-
withPublishRegistryUserAuthentication
public DockerConfiguration withPublishRegistryUserAuthentication(String username, String password, String url, String email) -
withEmptyPublishRegistryAuthentication
-