These resources are not enabled by default.
These resources are not enabled by default.
The resources in this module are for using Heat with the Rackspace Cloud. These resources either allow using Rackspace services that don’t have equivalent services in OpenStack or account for differences between a generic OpenStack deployment and the Rackspace Cloud.
Rackspace resources depend on the dev branch of pyrax to work properly. More information about them can be found in the RACKSPACE_README.
This resource is not enabled by default.
This plugin enables the use of Docker containers in a Heat template and requires the docker-py package. You can find more information in the DOCKER_README.
Note
UNSUPPORTED - This resource is not supported, use at your own risk.
Note
Available since 2015.1 (Kilo)
Be used to add kernel capabilities (only supported for API version >= 1.2.0).
List value expected.
Updates cause replacement.
Defaults to “[]”.
List contents:
*¶
Optional.
The security features provided by Linux kernels.
String value expected.
Updates cause replacement.
Allowed values: SETPCAP, SYS_MODULE, SYS_RAWIO, SYS_PACCT, SYS_ADMIN, SYS_NICE, SYS_RESOURCE, SYS_TIME, SYS_TTY_CONFIG, MKNOD, AUDIT_WRITE, AUDIT_CONTROL, MAC_OVERRIDE, MAC_ADMIN, NET_ADMIN, SYSLOG, CHOWN, NET_RAW, DAC_OVERRIDE, FOWNER, DAC_READ_SEARCH, FSETID, KILL, SETGID, SETUID, LINUX_IMMUTABLE, NET_BIND_SERVICE, NET_BROADCAST, IPC_LOCK, IPC_OWNER, SYS_CHROOT, SYS_PTRACE, SYS_BOOT, LEASE, SETFCAP, WAKE_ALARM, BLOCK_SUSPEND, ALL
Note
Available since 2015.1 (Kilo)
Be used to drop kernel capabilities (only supported for API version >= 1.2.0).
List value expected.
Updates cause replacement.
Defaults to “[]”.
List contents:
*¶
Optional.
The security features provided by Linux kernels.
String value expected.
Updates cause replacement.
Allowed values: SETPCAP, SYS_MODULE, SYS_RAWIO, SYS_PACCT, SYS_ADMIN, SYS_NICE, SYS_RESOURCE, SYS_TIME, SYS_TTY_CONFIG, MKNOD, AUDIT_WRITE, AUDIT_CONTROL, MAC_OVERRIDE, MAC_ADMIN, NET_ADMIN, SYSLOG, CHOWN, NET_RAW, DAC_OVERRIDE, FOWNER, DAC_READ_SEARCH, FSETID, KILL, SETGID, SETUID, LINUX_IMMUTABLE, NET_BIND_SERVICE, NET_BROADCAST, IPC_LOCK, IPC_OWNER, SYS_CHROOT, SYS_PTRACE, SYS_BOOT, LEASE, SETFCAP, WAKE_ALARM, BLOCK_SUSPEND, ALL
Command to run after spawning the container.
List value expected.
Updates cause replacement.
Defaults to “[]”.
Note
Available since 5.0.0 (Liberty)
The CPUs in which to allow execution (only supported for API version >= 1.12).
String value expected.
Updates cause replacement.
Note
Available since 5.0.0 (Liberty)
Device mappings (only supported for API version >= 1.14).
List value expected.
Updates cause replacement.
Defaults to “[]”.
List contents:
*¶
Map value expected.
Updates cause replacement.
Map properties:
path_in_container¶ Optional.
The device path of the container mappings to the host.
String value expected.
Updates cause replacement.
The length must be no greater than 255.
Value must match pattern: ^/dev/[/_-a-zA-Z0-9]+$
path_on_host¶ Required.
The device path on the host.
String value expected.
Updates cause replacement.
The length must be no greater than 255.
Value must match pattern: ^/dev/[/_-a-zA-Z0-9]+$
permissions¶ Optional.
The permissions of the container to read/write/create the devices.
String value expected.
Updates cause replacement.
Defaults to “rwm”.
Allowed values: r, w, m, rw, rm, wm, rwm
Docker daemon endpoint (by default the local docker daemon will be used).
String value expected.
Updates cause replacement.
Hostname of the container.
String value expected.
Updates cause replacement.
Defaults to “”.
Enable extended privileges.
Boolean value expected.
Updates cause replacement.
Defaults to “False”.
Note
Available since 2015.1 (Kilo)
If true, mount the container’s root filesystem as read only (only supported for API version >= 1.17).
Boolean value expected.
Updates cause replacement.
Defaults to “False”.
Note
Available since 2015.1 (Kilo)
Restart policies (only supported for API version >= 1.2.0).
Map value expected.
Updates cause replacement.
Defaults to “{}”.
Map properties:
MaximumRetryCount¶
Optional.
A maximum restart count for the on-failure policy.
Integer value expected.
Updates cause replacement.
Defaults to “0”.
Name¶
Optional.
The behavior to apply when the container exits.
String value expected.
Updates cause replacement.
Defaults to “no”.
Allowed values: no, on-failure, always
If true, close stdin after the 1 attached client disconnects.
Boolean value expected.
Updates cause replacement.
Defaults to “False”.
Mount all specified volumes.
List value expected.
Updates cause replacement.
Defaults to “”.
Container info.
Container logs.
Container first logs line.
Container last logs line.
Container ip gateway.
Container network info.
Container ip address.
Container TCP ports.
Container UDP ports.
Detailed information about resource.
heat_template_version: 2015-04-30
...
resources:
...
the_resource:
type: DockerInc::Docker::Container
properties:
cap_add: [String, String, ...]
cap_drop: [String, String, ...]
cmd: [Value, Value, ...]
cpu_set: String
cpu_shares: Integer
devices: [{"path_on_host": String, "path_in_container": String, "permissions": String}, {"path_on_host": String, "path_in_container": String, "permissions": String}, ...]
dns: [Value, Value, ...]
docker_endpoint: String
env: [Value, Value, ...]
hostname: String
image: String
links: {...}
memory: Integer
name: String
open_stdin: Boolean
port_bindings: {...}
port_specs: [Value, Value, ...]
privileged: Boolean
read_only: Boolean
restart_policy: {"MaximumRetryCount": Integer, "Name": String}
stdin_once: Boolean
tty: Boolean
user: String
volumes: {...}
volumes_from: [Value, Value, ...]
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.