| Constructor and Description |
|---|
Dockers() |
| Modifier and Type | Method and Description |
|---|---|
static void |
addEnvironmentVariablesToList(List<String> envList,
Map<String,String> environmentVariables)
Adds the given map of environment variables to the given environment list so that it can be passed into the
io.fabric8.docker.api.container.ContainerConfig#setEnv(java.util.List) function |
static String |
dockerErrorMessage(Exception e)
Returns the detailed error message from the error if its a REST based exception
|
static String |
extractLastProgressId(String progressJson)
Given a sequence of Progress JSON objects, finds the last id attribute in the last object
|
static Set<Integer> |
getUsedPorts(Docker docker) |
static List<String> |
toEnvList(Map<String,String> environmentVariables)
Converts the environment variables Map into a list so that it can be passed into the
io.fabric8.docker.api.container.ContainerConfig#setEnv(java.util.List) function |
public static String extractLastProgressId(String progressJson)
public static String dockerErrorMessage(Exception e)
public static void addEnvironmentVariablesToList(List<String> envList, Map<String,String> environmentVariables)
io.fabric8.docker.api.container.ContainerConfig#setEnv(java.util.List) functionCopyright © 2011–2014 Red Hat. All rights reserved.