mirror of
https://github.com/docker/compose.git
synced 2025-07-23 13:45:00 +02:00
don't create from run command during dependencies creation process
Signed-off-by: Guillaume Lours <705411+glours@users.noreply.github.com>
This commit is contained in:
parent
149b882ebf
commit
769b7391ba
@ -190,8 +190,10 @@ func (s *composeService) startDependencies(ctx context.Context, project *types.P
|
||||
project.Services = dependencies
|
||||
project.DisabledServices[options.Service] = requestedService
|
||||
}
|
||||
project.DisabledServices[options.Service] = requestedService
|
||||
delete(project.Services, options.Service)
|
||||
|
||||
err := s.Create(ctx, project, api.CreateOptions{
|
||||
err = s.Create(ctx, project, api.CreateOptions{
|
||||
Build: options.Build,
|
||||
IgnoreOrphans: options.IgnoreOrphans,
|
||||
RemoveOrphans: options.RemoveOrphans,
|
||||
|
Loading…
x
Reference in New Issue
Block a user