Files
docker-cli/components/engine/integration-cli
Kir Kolyshkin fe76970085 TestDaemonNoSpaceLeftOnDeviceError: simplify
There is no need to perform a separate losetup step; mount (even
the one in busybox!) is smart enough to set up a loopback device
all by itself (even without -o loop present!). More to say, while
doing this, it sets LO_FLAGS_AUTOCLEAR flag for the kernel to
delete the loopback device as soon as its fs is unmounted (this
is supposed to work since kernel 2.6.25).

Also, remove mount options (-t ext4, -o loop,rw) as they are
either defaults (rw) or mount is smart enough to figure out.
Leave -n so it won't do unnecessary write to container's /etc/mtab.

While at it, touch up some comments.

Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
Upstream-commit: a978fd22daefcc68d37c46177a545f7e1dfc6d9e
Component: engine
2018-03-30 09:14:49 -07:00
..
2018-02-05 16:51:57 -05:00
2018-03-16 11:03:43 -04:00
2018-02-05 16:51:57 -05:00
2018-03-28 09:10:43 -04:00
2018-02-05 16:51:57 -05:00
2018-02-05 16:51:57 -05:00
2017-10-07 00:10:24 +08:00
2017-07-03 13:13:09 -07:00
2017-09-15 16:01:15 +02:00