Package io.quarkus.deployment
Class IsContainerRuntimeWorking.DockerHostStrategy
java.lang.Object
io.quarkus.deployment.IsContainerRuntimeWorking.DockerHostStrategy
- All Implemented Interfaces:
IsContainerRuntimeWorking.Strategy
,Supplier<IsContainerRuntimeWorking.Result>
- Enclosing class:
- IsContainerRuntimeWorking
protected static class IsContainerRuntimeWorking.DockerHostStrategy
extends Object
implements IsContainerRuntimeWorking.Strategy
Detection using a remote host socket
We don't want to pull in the docker API here, so we just see if the DOCKER_HOST is set
and if we can connect to it.
We can't actually verify it is docker listening on the other end.
Furthermore, this does not support Unix Sockets
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
DockerHostStrategy
protected DockerHostStrategy()
-
-
Method Details
-
get
- Specified by:
get
in interfaceSupplier<IsContainerRuntimeWorking.Result>
-