fix(app-emulation/docker): add TMPDIR=/var/tmp

This fixes the issue reported here where /tmp runs out os space during a
docker save

https://github.com/coreos/coreos-vagrant/issues/49#issuecomment-43287780
This commit is contained in:
Brandon Philips 2014-05-15 18:58:43 -07:00
parent da4253ab4c
commit 50b1922a51
2 changed files with 1 additions and 0 deletions

View File

@ -3,6 +3,7 @@ Description=Docker Application Container Engine
Documentation=http://docs.docker.io
[Service]
Environment="TMPDIR=/var/tmp/"
ExecStartPre=/bin/mount --make-rprivate /
# Run docker but don't have docker automatically restart
# containers. This is a job for systemd and unit files.