containers job from docker/6
Github source:
9c46aaca or
master branch
Properties¶
containers¶
Containers Array (see below for details)
docker¶
containers¶
logrotate¶
frequency¶Frequency to run logrotate for Containers log files (crontab five time and date fields)
- Default
0 * * * *
rotate¶Number of times Containers log files are rotated before being removed
- Default
"7"
size¶Size before Containers log files are rotateds
- Default
2M
group¶Group which will own the Docker services
- Default
vcap
user¶User which will own the Docker services
- Default
root
remote_syslog¶
address¶IP address for Remote Syslog
debug¶Write a debug file
- Default
false
group¶Group which will own the Remote Syslog services
- Default
vcap
new_file_check_interval¶How often to check for new files
- Default
10s
port¶TCP port of Remote Syslog
- Default
"514"
protocol¶Protocol to be used when forwarding logs to a Remote Syslog (tcp|udp|tls)
- Default
udp
user¶User which will own the Remote Syslog 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/containers/ directory
(learn more).
bin/containers_ctl(frombin/containers_ctl.erb)bin/job_properties.sh(frombin/job_properties.sh.erb)bin/remote_syslog_ctl(frombin/remote_syslog_ctl)config/containers_logrotate.cron(fromconfig/containers_logrotate.cron.erb)config/logrotate.conf(fromconfig/logrotate.conf.erb)config/remote_syslog.yml(fromconfig/remote_syslog.yml.erb)
Packages¶
Packages are compiled and placed onto corresponding
instances during the deployment process. Packages will be
placed into /var/vcap/packages/ directory.