From 50b1922a519467215e6d703a0b4fef43fa895f2f Mon Sep 17 00:00:00 2001 From: Brandon Philips Date: Thu, 15 May 2014 18:58:43 -0700 Subject: [PATCH] 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 --- .../docker/{docker-0.11.1.ebuild => docker-0.11.1-r1.ebuild} | 0 .../coreos-overlay/app-emulation/docker/files/docker.service | 1 + 2 files changed, 1 insertion(+) rename sdk_container/src/third_party/coreos-overlay/app-emulation/docker/{docker-0.11.1.ebuild => docker-0.11.1-r1.ebuild} (100%) diff --git a/sdk_container/src/third_party/coreos-overlay/app-emulation/docker/docker-0.11.1.ebuild b/sdk_container/src/third_party/coreos-overlay/app-emulation/docker/docker-0.11.1-r1.ebuild similarity index 100% rename from sdk_container/src/third_party/coreos-overlay/app-emulation/docker/docker-0.11.1.ebuild rename to sdk_container/src/third_party/coreos-overlay/app-emulation/docker/docker-0.11.1-r1.ebuild diff --git a/sdk_container/src/third_party/coreos-overlay/app-emulation/docker/files/docker.service b/sdk_container/src/third_party/coreos-overlay/app-emulation/docker/files/docker.service index 573273272b..174ccb9b54 100644 --- a/sdk_container/src/third_party/coreos-overlay/app-emulation/docker/files/docker.service +++ b/sdk_container/src/third_party/coreos-overlay/app-emulation/docker/files/docker.service @@ -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.