Package org.hobbit.utils.docker
Class DockerHelper
- java.lang.Object
-
- org.hobbit.utils.docker.DockerHelper
-
public class DockerHelper extends Object
A simple utility class that helps to work with docker and docker accessories.- Author:
- Denis Kuchelev
-
-
Constructor Summary
Constructors Constructor Description DockerHelper()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static StringgetHost()Gets hostname (or address) of the host at which docker service configured in environment runs.static StringgetHost(String dockerURI)Gets hostname (or address) of the host at which specified docker service runs.
-
-
-
Method Detail
-
getHost
public static String getHost()
Gets hostname (or address) of the host at which docker service configured in environment runs.- Returns:
- plain hostname (or address)
-
-