private String createAndStartContainer()
throws DockerException, InterruptedException {
// Check if the container is already running
final ContainerInfo info = getContainerInfo(existingContainerId);
if (info != null && info.state().running()) {
return existingContainerId;
}
// Ensure we have the image
final String image = config.containerImage();