@%@UCRWARNING=# @%@

# Docker Upstart and SysVinit configuration file

# Customize location of Docker binary (especially for development testing).
#DOCKER="/usr/local/bin/docker"

# Use DOCKER_OPTS to modify the daemon startup options.
# DOCKER_OPTS="--dns 8.8.8.8 --dns 8.8.4.4"
# DOCKER_OPTS="-H tcp://172.17.42.1:4243 -H unix:///var/run/docker.sock"
@!@
docker_opts = ''
for var in configRegistry:
	if var.startswith('docker/daemon/default/opts'):
		opt = var.split('/')[-1]
		docker_opts += '--%s=%s ' % (opt, configRegistry[var])
print 'DOCKER_OPTS="%s"' % docker_opts
@!@

# If you need Docker to use an HTTP proxy, it can also be specified here.
@!@
pr = configRegistry.get("proxy/http")
if pr:
	print 'export http_proxy="%s"' % pr
else:
	print '#export http_proxy="http://127.0.0.1:3128/" set UCR variable proxy/http to change this'
@!@
# This is also a handy place to tweak where Docker's temporary files go.
#export TMPDIR="/mnt/bigdrive/docker-tmp"
