Package | Description |
---|---|
org.jclouds.docker.compute.options |
Modifier and Type | Method and Description |
---|---|
DockerTemplateOptions |
DockerTemplateOptions.authorizePublicKey(String publicKey)
authorize an rsa ssh key.
|
static DockerTemplateOptions |
DockerTemplateOptions.Builder.authorizePublicKey(String rsaKey) |
DockerTemplateOptions |
DockerTemplateOptions.blockOnPort(int port,
int seconds)
When the node is started, wait until the following port is active
|
static DockerTemplateOptions |
DockerTemplateOptions.Builder.blockOnPort(int port,
int seconds) |
DockerTemplateOptions |
DockerTemplateOptions.blockUntilRunning(boolean blockUntilRunning)
Note
|
static DockerTemplateOptions |
DockerTemplateOptions.Builder.blockUntilRunning(boolean blockUntilRunning) |
DockerTemplateOptions |
DockerTemplateOptions.clone() |
DockerTemplateOptions |
DockerTemplateOptions.commands(Iterable<String> commands) |
static DockerTemplateOptions |
DockerTemplateOptions.Builder.commands(Iterable<String> commands) |
DockerTemplateOptions |
DockerTemplateOptions.commands(String... commands) |
static DockerTemplateOptions |
DockerTemplateOptions.Builder.commands(String... commands) |
DockerTemplateOptions |
DockerTemplateOptions.configBuilder(Config.Builder configBuilder)
This method sets Config.Builder configuration object, which can be used as
a replacement for all the other settings from this class.
|
static DockerTemplateOptions |
DockerTemplateOptions.Builder.configBuilder(Config.Builder configBuilder) |
DockerTemplateOptions |
DockerTemplateOptions.cpuShares(Integer cpuShares) |
static DockerTemplateOptions |
DockerTemplateOptions.Builder.cpuShares(Integer cpuShares) |
DockerTemplateOptions |
DockerTemplateOptions.dns(Iterable<String> dns) |
static DockerTemplateOptions |
DockerTemplateOptions.Builder.dns(Iterable<String> dns) |
DockerTemplateOptions |
DockerTemplateOptions.dns(String... dns) |
static DockerTemplateOptions |
DockerTemplateOptions.Builder.dns(String... dns) |
DockerTemplateOptions |
DockerTemplateOptions.dontAuthorizePublicKey() |
DockerTemplateOptions |
DockerTemplateOptions.entrypoint(Iterable<String> entrypoint) |
static DockerTemplateOptions |
DockerTemplateOptions.Builder.entrypoint(Iterable<String> entrypoint) |
DockerTemplateOptions |
DockerTemplateOptions.entrypoint(String... entrypoint) |
static DockerTemplateOptions |
DockerTemplateOptions.Builder.entrypoint(String... entrypoint) |
DockerTemplateOptions |
DockerTemplateOptions.env(Iterable<String> env) |
static DockerTemplateOptions |
DockerTemplateOptions.Builder.env(Iterable<String> env) |
DockerTemplateOptions |
DockerTemplateOptions.env(String... env) |
static DockerTemplateOptions |
DockerTemplateOptions.Builder.env(String... env) |
DockerTemplateOptions |
DockerTemplateOptions.extraHosts(Map<String,String> extraHosts)
Set extra hosts file entries for a container.
|
static DockerTemplateOptions |
DockerTemplateOptions.Builder.extraHosts(Map<String,String> extraHosts) |
DockerTemplateOptions |
DockerTemplateOptions.hostname(String hostname) |
static DockerTemplateOptions |
DockerTemplateOptions.Builder.hostname(String hostname) |
DockerTemplateOptions |
DockerTemplateOptions.inboundPorts(int... ports)
Opens the set of ports to public access.
|
static DockerTemplateOptions |
DockerTemplateOptions.Builder.inboundPorts(int... ports) |
DockerTemplateOptions |
DockerTemplateOptions.installPrivateKey(String privateKey)
replaces the rsa ssh key used at login.
|
static DockerTemplateOptions |
DockerTemplateOptions.Builder.installPrivateKey(String rsaKey) |
DockerTemplateOptions |
DockerTemplateOptions.memory(Integer memory) |
static DockerTemplateOptions |
DockerTemplateOptions.Builder.memory(Integer memory) |
DockerTemplateOptions |
DockerTemplateOptions.nameTask(String name) |
DockerTemplateOptions |
DockerTemplateOptions.networkMode(String networkMode)
Sets the networking mode for the container.
|
static DockerTemplateOptions |
DockerTemplateOptions.Builder.networkMode(String networkMode) |
DockerTemplateOptions |
DockerTemplateOptions.networks(Iterable<String> networks)
Assigns the created nodes to these networks
|
static DockerTemplateOptions |
DockerTemplateOptions.Builder.networks(Iterable<String> networks) |
DockerTemplateOptions |
DockerTemplateOptions.nodeNames(Iterable<String> nodeNames)
specifies names to be used for the created nodes.
|
static DockerTemplateOptions |
DockerTemplateOptions.Builder.nodeNames(Iterable<String> nodeNames) |
DockerTemplateOptions |
DockerTemplateOptions.openStdin(boolean openStdin)
Keep
STDIN open when running interactive workloads in the container. |
static DockerTemplateOptions |
DockerTemplateOptions.Builder.openStdin(boolean openStdin) |
DockerTemplateOptions |
DockerTemplateOptions.overrideAuthenticateSudo(boolean authenticateSudo) |
static DockerTemplateOptions |
DockerTemplateOptions.Builder.overrideAuthenticateSudo(boolean authenticateSudo) |
DockerTemplateOptions |
DockerTemplateOptions.overrideLoginCredentials(LoginCredentials overridingCredentials) |
static DockerTemplateOptions |
DockerTemplateOptions.Builder.overrideLoginCredentials(LoginCredentials credentials) |
DockerTemplateOptions |
DockerTemplateOptions.overrideLoginPassword(String password) |
static DockerTemplateOptions |
DockerTemplateOptions.Builder.overrideLoginPassword(String password) |
DockerTemplateOptions |
DockerTemplateOptions.overrideLoginPrivateKey(String privateKey) |
static DockerTemplateOptions |
DockerTemplateOptions.Builder.overrideLoginPrivateKey(String privateKey) |
DockerTemplateOptions |
DockerTemplateOptions.overrideLoginUser(String loginUser) |
static DockerTemplateOptions |
DockerTemplateOptions.Builder.overrideLoginUser(String user) |
DockerTemplateOptions |
DockerTemplateOptions.portBindings(Map<Integer,Integer> portBindings)
Set port bindings between the Docker host and a container.
|
static DockerTemplateOptions |
DockerTemplateOptions.Builder.portBindings(Map<Integer,Integer> portBindings) |
DockerTemplateOptions |
DockerTemplateOptions.privileged(boolean privileged)
By default, Docker containers are unprivileged and cannot execute privileged operations or access certain
host devices.
|
static DockerTemplateOptions |
DockerTemplateOptions.Builder.privileged(boolean privileged) |
DockerTemplateOptions |
DockerTemplateOptions.runAsRoot(boolean runAsRoot) |
DockerTemplateOptions |
DockerTemplateOptions.runScript(Statement script)
This script will be executed as the root user upon system startup.
|
DockerTemplateOptions |
DockerTemplateOptions.userMetadata(Map<String,String> userMetadata) |
static DockerTemplateOptions |
DockerTemplateOptions.Builder.userMetadata(Map<String,String> userMetadata) |
DockerTemplateOptions |
DockerTemplateOptions.userMetadata(String key,
String value) |
DockerTemplateOptions |
DockerTemplateOptions.volumes(Map<String,String> volumes) |
static DockerTemplateOptions |
DockerTemplateOptions.Builder.volumes(Map<String,String> volumes) |
DockerTemplateOptions |
DockerTemplateOptions.volumesFrom(Iterable<String> volumesFrom)
Set list of containers to mount volumes from onto this container.
|
static DockerTemplateOptions |
DockerTemplateOptions.Builder.volumesFrom(Iterable<String> volumesFrom) |
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.