mirror of
https://github.com/docker/compose.git
synced 2025-04-08 17:05:13 +02:00
Merge pull request #1914 from ndeloof/run_volumes
run -v should not remove configured volumes
This commit is contained in:
commit
8fd04195be
@ -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…
x
Reference in New Issue
Block a user