Skip to content

docker job from shipyard/1

Github source: fc050a69 or master branch

Properties

docker

api_enable_cors

Enable CORS headers in the remote API

Default
false

debug

Enable debug mode

Default
false

dns_domains

Array of DNS search domains to be used by Docker

dns_servers

Array of DNS servers to be used by Docker

group

Group which will own the Docker services

Default
vcap

icc

Enable inter-container communication

Default
true

ip_forward

Enable net.ipv4.ip_forward

Default
true

iptables

Enable Docker addition of iptables rules

Default
true

mtu

Docker Containers network MTU

restart

Restart previously running containers

Default
false

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"

user

User which will own the Docker services

Default
root

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)
  • bin/job_properties.sh (from bin/job_properties.sh.erb)

Packages

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