mirror of
https://github.com/docker/docs.git
synced 2026-03-31 16:28:59 +07:00
Windows: Fix regresion on first boot
Signed-off-by: John Howard <jhoward@microsoft.com>
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