A toolkit for building secure, portable and lean operating systems for containers
Go to file
Ian Campbell 307f13b129 Defer dockerRm until we are finished with the contents
This was introduced by #191 but somehow did not trigger either for me in local
testing or in CI.

It did trigger in initial CI of https://github.com/linuxkit/linuxkit/pull/2811
which can be seen at https://linuxkit.datakit.ci/linuxkit/linuxkit/pr/2811?history=1637690296123e9a15307b3a41b290da6e27e7cc
The error is:

    Failed to docker rm container «...»: «...»: aufs: unmount error after retries: «...»: device or resource busy

No doubt because we were still holding an open fd while trying to remove the
container.

Unclear why this didn't repro for me (docker 17.11.0-ce with overlay2) or
whatever CI uses.

Signed-off-by: Ian Campbell <ijc@docker.com>
2017-12-13 11:44:32 +00:00
.circleci Publish a checksum of the binaries. 2017-11-16 17:15:06 +00:00
cmd/moby Generate intermediate image into a temp file 2017-12-06 16:07:46 +00:00
docs Merge pull request #181 from justincormack/runtime-cgroups 2017-11-17 14:12:08 +00:00
examples Fix docker format build example 2017-11-18 22:22:33 +01:00
src Defer dockerRm until we are finished with the contents 2017-12-13 11:44:32 +00:00
test Add Cgroup resource limits into Yaml spec 2017-08-09 16:39:10 +01:00
vendor Update dependencies to use sirupsen not Sirupsen 2017-11-01 15:14:58 +00:00
.gitignore Improve makefile and circleci config 2017-10-17 17:30:44 -04:00
CONTRIBUTING.md Move Contributing to top level 2017-07-14 11:50:51 +01:00
gometalinter.json Fix lint errors 2017-10-17 17:30:47 -04:00
LICENSE Add license files 2017-04-24 23:08:30 +01:00
Makefile Merge pull request #185 from justincormack/fix-make 2017-11-17 15:21:08 +00:00
NOTICE Add license files 2017-04-24 23:08:30 +01:00
poule.yml add initial poule config 2017-11-14 12:16:54 -05:00
vendor.conf Update dependencies to use sirupsen not Sirupsen 2017-11-01 15:14:58 +00:00