mirror of https://github.com/docker/docs.git
Windows: Fix regresion on first boot
Signed-off-by: John Howard <jhoward@microsoft.com>
This commit is contained in:
parent
ad8a66573c
commit
8da449055f
|
@ -124,7 +124,11 @@ func (daemon *Daemon) containerStart(container *Container) (err error) {
|
||||||
mounts = append(mounts, container.ipcMounts()...)
|
mounts = append(mounts, container.ipcMounts()...)
|
||||||
|
|
||||||
container.command.Mounts = mounts
|
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 {
|
func (daemon *Daemon) waitForStart(container *Container) error {
|
||||||
|
|
Loading…
Reference in New Issue