moby/volume/local
Vincent Demeester d5b271c155
add check for local volume option
Description:
When using local volume option such as size=10G, type=tmpfs, if we provide wrong options, we could create volume successfully.
But when we are ready to use it, it will fail to start container by failing to mount the local volume(invalid option).

We should check the options at when we create it.

Signed-off-by: Wentao Zhang <zhangwentao234@huawei.com>
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2018-12-22 16:02:50 +01:00
..
local.go add check for local volume option 2018-12-22 16:02:50 +01:00
local_test.go Add ADD/COPY --chown flag support to Windows 2018-08-13 21:59:11 -07:00
local_unix.go add check for local volume option 2018-12-22 16:02:50 +01:00
local_windows.go add check for local volume option 2018-12-22 16:02:50 +01:00