mirror of https://github.com/docker/compose.git
run -v should not remove configured volumes
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
This commit is contained in:
parent
396d449d36
commit
e6f7c64eb8
|
@ -72,7 +72,6 @@ func (opts runOptions) apply(project *types.Project) error {
|
|||
}
|
||||
}
|
||||
if len(opts.volumes) > 0 {
|
||||
target.Volumes = []types.ServiceVolumeConfig{}
|
||||
for _, v := range opts.volumes {
|
||||
volume, err := loader.ParseVolume(v)
|
||||
if err != nil {
|
||||
|
|
Loading…
Reference in New Issue