public interface DockerHostDriver
extends org.apache.brooklyn.entity.software.base.SoftwareProcessDriver
driver for Docker.| Modifier and Type | Method and Description |
|---|---|
String |
buildImage(String dockerfile,
com.google.common.base.Optional<String> entrypoint,
com.google.common.base.Optional<String> contextArchive,
String name,
boolean useSsh,
Map<String,Object> substitutions)
Build a Docker image from the given Dockerfile and optional entrypoint script.
|
String |
deployArchive(String url) |
Integer |
getDockerPort() |
String |
layerSshableImageOn(String fullyQualifiedImageName)
Build an SSHable Docker image that is based from an image with the given name.
|
Integer getDockerPort()
String buildImage(String dockerfile, com.google.common.base.Optional<String> entrypoint, com.google.common.base.Optional<String> contextArchive, String name, boolean useSsh, Map<String,Object> substitutions)
Copies the Dockerfile and script to the host in the name folder, and
uses brooklyn/name for the registry. The returned ID is required to
start a container using the jclouds API.
DockerHost#createSshableImage(String, String)String layerSshableImageOn(String fullyQualifiedImageName)
fullyQualifiedImageName - e.g. quay.io/graemem/repo/tomcat:8.0Copyright © 2012–2016 The Apache Software Foundation. All rights reserved.