LOGGER.debug("Executing Docker Restart Container Request");
String containerId = DockerHelper.getProperty(DockerConstants.DOCKER_CONTAINER_ID, configuration, message, String.class);
RestartContainerCmd restartContainerCmd = client.restartContainerCmd(containerId);
Integer timeout = DockerHelper.getProperty(DockerConstants.DOCKER_TIMEOUT, configuration, message, Integer.class);
if (timeout != null) {
restartContainerCmd.withtTimeout(timeout);
}
return restartContainerCmd;
}