mirror of https://github.com/docker/docs.git
Remove refresh network when creating container
Signed-off-by: Xianlu <xianlu.cxl@alibaba-inc.com>
This commit is contained in:
parent
e7b8b4c6eb
commit
e361f64180
|
@ -921,8 +921,6 @@ func (e *Engine) CreateContainer(config *ContainerConfig, name string, pullImage
|
|||
// Register the container immediately while waiting for a state refresh.
|
||||
// Force a state refresh to pick up the newly created container.
|
||||
e.refreshContainer(createResp.ID, true)
|
||||
e.RefreshVolumes()
|
||||
e.RefreshNetworks()
|
||||
|
||||
e.Lock()
|
||||
container := e.containers[createResp.ID]
|
||||
|
|
Loading…
Reference in New Issue