mirror of
https://github.com/docker/compose.git
synced 2026-08-31 23:03:55 +00:00
Merge pull request #1914 from ndeloof/run_volumes
run -v should not remove configured volumes
This commit is contained in:
commit
8fd04195be
1 changed files with 0 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue