1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/cli
Sebastiaan van Stijn 34889e579f
fix conversion of anonymous volumes in compose-file
the `convertVolumeToMount()` function did not take
anonymous volumes into account when converting
volume specifications to bind-mounts.

this resulted in the conversion to try to
look up an empty "source" volume, which
lead to an error;

    undefined volume:

this patch distinguishes "anonymous"
volumes from bind-mounts and named-volumes,
and skips further processing if no source
is defined (i.e. the volume is "anonymous").

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2016-12-18 16:50:32 +01:00
..
command Merge pull request #28629 from yongtang/28581-secret-create-input 2016-12-18 03:04:10 +01:00
compose/convert fix conversion of anonymous volumes in compose-file 2016-12-18 16:50:32 +01:00
flags
trust cli: Split out GetNotaryRepository and associated functions 2016-12-14 10:49:32 -08:00
cobra.go exit with status 1 if help is called on an invalid command. 2016-11-23 15:13:58 -05:00
error.go
required.go