Skip to content

docker job from service-fabrik/3.271.0

Github source: f8018645 or master branch

Properties

broker

syslog

host

Syslog ingestor host IP of ELK stack

Default
10.1.4.3
port

Syslog ingestor Port

Default
5514

common

tls_cacert

Trust only remotes providing a certificate signed by the CA given here

docker

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

daemon

keyfile

location where docker keeps key file in persistence disk

Default
/var/vcap/store/docker/key.json

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_options

Array of DNS options to be used

Array of DNS search domains to be used

dns_servers

Array of DNS servers to be used

enable_userns

Enable usernamespace

Default
false

exec_options

Array of exec driver options

icc

true: Allow unrestricted inter-container and Docker daemon host communication

Default
false

insecure_registries

Array of insecure registries (no certificate verification for HTTPS and enable HTTP fallback)

ip

Default IP when binding container ports

ip_forward

Enable net.ipv4.ip_forward and IPv6 forwarding

Default
true

ip_masq

Enable IP masquerading

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

log_driver

Default driver for container logs

log_level

Set the logging level (debug, info, warn, error, fatal)

Default
info

log_options

Array of log driver options

logrotate

count

Max number of log files per container

Default
5
interval

Specify the interval of daily, weekly, monthly or yearly

size

Log file size threshold per container

Default
2M

logs_dir

logs directory of docker

Default
/var/vcap/sys/log/docker

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)

name

Name of service fabrik docker, used for syslog shipper

Default
service_fabrik_docker

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

tcp_address

TCP address where Docker daemon will listen to (if not set, TCP will not be available)

Default
127.0.0.1

tcp_port

TCP port where Docker daemon will listen to (if not set, TCP will not be available)

Default
"4243"

tls

Use TLS

Default
false

tls_cert

TLS certificate file

tls_key

TLS key file

tls_verify

Use TLS and verify the remote

Default
false

ulimit

nofile

Maximum number of open files

Default
8192

userland_proxy

Use userland proxy for loopback traffic

Default
true

volume

mount_dir

directory on which NFS volume is mounted on docker node

Default
/var/vcap/store

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

lvmvd

default_size

Default size for a Docker volume (in megabytes) if no size can be deduced from volume name

Default
768

disabled

Disable use of the Docker volume driver (e.g. bosh-lite).

Default
false

loop_device

The Loopback device to be use with the Volume Driver

Default
/dev/loop1

mount_dir

Directory where mount points will be created

Default
/var/vcap/store/lvmvd/mountpoints

pv_size

Size of physical volume (sparse file in gigabytes; must match desired x + some extra bytes)

Default
"61"

socket_file

Socket file where the lvmvd daemon will be listening on (note: docker currently does not look into the /var/vcap/run/docker/plugins directory for plugin socket files)

Default
/run/docker/plugins/lvm-volume-driver.sock

volume_file_location

Location of the volume group file (the name will be derived from the volume group name)

Default
/var/vcap/store/lvmvd/

volume_group_name

Name of volume group which will be used for creating the logical volumes

Default
service-vg

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 (from bin/cgroupfs-mount)
  • bin/docker_ctl (from bin/docker_ctl.erb)
  • bin/job_properties.sh (from bin/job_properties.sh.erb)
  • bin/lvmvd_ctl (from bin/lvmvd_ctl.erb)
  • bin/post-start (from bin/post-start.erb)
  • config/docker-logrotate (from config/docker-logrotate.erb)
  • config/docker.cacert (from config/docker.cacert.erb)
  • config/docker.cert (from config/docker.cert.erb)
  • config/docker.key (from config/docker.key.erb)

Packages

Packages are compiled and placed onto corresponding instances during the deployment process. Packages will be placed into /var/vcap/packages/ directory.