diff --git a/types/types.go b/types/types.go index 156cacd0..f1dce04a 100644 --- a/types/types.go +++ b/types/types.go @@ -279,7 +279,8 @@ func (s ServiceConfig) GetDependencies() []string { } for _, vol := range s.VolumesFrom { if !strings.HasPrefix(s.Pid, ContainerPrefix) { - dependencies.append(vol) + spec := strings.Split(vol, ":") + dependencies.append(spec[0]) } }