docker job from docker/0.0.3
Github source:
5c39ecc or
master branch
Properties¶
api_cors_header¶
Set CORS headers in the remote API
- Default
false
bridge¶
Name of the network bridge to attach containers (defaults to docker0)
cidr_prefix¶
CIDR notation prefix (first 2 octets) for the network bridges IP
cluster_store¶
Cluster store URL
- Example
-
etcd://some-host:port
debug¶
Enable debug mode
- Default
false
default_gateway¶
Container default gateway IPv4 address
default_gateway_v6¶
Container default gateway IPv6 address
default_ulimits¶
Array of default ulimits for containers
dns_domains¶
Array of DNS search domains to be used by Docker
dns_servers¶
Array of DNS servers to be used by Docker
env¶
http_proxy¶HTTP proxy that Docker should use
https_proxy¶HTTPS proxy that Docker should use
no_proxy¶List of comma-separated hosts that Docker should skip connecting to the proxy
exec_driver¶
Use a specific exec driver
exec_options¶
Array of exec driver options
group¶
Group which will own the Docker services
- Default
vcap
icc¶
Allow unrestricted inter-container and Docker daemon host communication
- Default
true
insecure_registries¶
Array of insecure registries (no certificate verification for HTTPS and enable HTTP fallback)
inside_container¶
This job is running inside another container
- Default
false
ip_forward¶
Enable net.ipv4.ip_forward and IPv6 forwarding
- Default
true
ip_masq¶
Enable IP masquerading for bridge’s IP range
- Default
true
iptables¶
Enable Docker’s addition of iptables rules
- Default
true
ipv6¶
Enable IPv6 networking
- Default
false
labels¶
Array of key=value labels for the daemon
listen_address¶
TCP address where Docker daemon will listen to (if not set, TCP will not be available)
- Default
0.0.0.0
listen_port¶
TCP port where Docker daemon will listen to (if not set, TCP will not be available)
- Default
"4243"
log_level¶
Set the logging level (debug, info, warn, error, fatal)
- Default
info
mtu¶
Set the containers network MTU (if no value is provided: default to the default route MTU or 1500 if no default route is available)
registry_mirrors¶
Array of preferred Docker registry mirrors
selinux_enable¶
Enable selinux support
- Default
false
storage_driver¶
Use a specific storage driver
storage_options¶
Array of storage driver options
tls¶
TLS certificate
user¶
User which will own the Docker services
- Default
root
userland_proxy¶
Use userland proxy for loopback traffic
- Default
true
Templates¶
Templates are rendered and placed onto corresponding
instances during the deployment process. This job's templates
will be placed into /var/vcap/jobs/docker/ directory
(learn more).
bin/cgroupfs-mount(frombin/cgroupfs-mount)bin/ctl(frombin/ctl)bin/props.sh(frombin/props.sh)config/ca(fromconfig/ca)config/cert(fromconfig/cert)config/private_key(fromconfig/private_key)
Packages¶
Packages are compiled and placed onto corresponding
instances during the deployment process. Packages will be
placed into /var/vcap/packages/ directory.