Skip to content

Commit

Permalink
Merge pull request #613 from Capgemini/fixes-582
Browse files Browse the repository at this point in the history
fixes-582 proxy and tmpdir for docker.
  • Loading branch information
enxebre committed Jan 8, 2016
2 parents 40755ee + 57da923 commit 4af446a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions roles/docker/templates/docker.service.j2
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ Requires=docker.socket early-docker.target

[Service]
EnvironmentFile=-/run/flannel_docker_opts.env
{% if http_proxy is defined and http_proxy != '' %}
Environment="HTTP_PROXY={{ http_proxy }}"
{% endif %}
Environment="DOCKER_TMPDIR={{ docker_tmp_dir }}"

MountFlags=slave
LimitNOFILE=1048576
LimitNPROC=1048576
Expand Down

0 comments on commit 4af446a

Please sign in to comment.