Merge pull request #17985 from Microsoft/jjh/firstboot
Windows: [TP4] Fix regression on second or later container starts Upstream-commit: 92487d7fb4963c0333c409d053ff694e619c538d Component: engine
This commit is contained in:
@ -124,7 +124,11 @@ func (daemon *Daemon) containerStart(container *Container) (err error) {
|
||||
mounts = append(mounts, container.ipcMounts()...)
|
||||
|
||||
container.command.Mounts = mounts
|
||||
return daemon.waitForStart(container)
|
||||
if err := daemon.waitForStart(container); err != nil {
|
||||
return err
|
||||
}
|
||||
container.HasBeenStartedBefore = true
|
||||
return nil
|
||||
}
|
||||
|
||||
func (daemon *Daemon) waitForStart(container *Container) error {
|
||||
|
||||
Reference in New Issue
Block a user