mirror of https://github.com/docker/docs.git
refresh volumes after creating a container
Signed-off-by: Victor Vieux <vieux@docker.com>
This commit is contained in:
parent
0fa9b97f4e
commit
3f29299afd
|
@ -524,6 +524,7 @@ func (e *Engine) Create(config *ContainerConfig, name string, pullImage bool) (*
|
|||
// Register the container immediately while waiting for a state refresh.
|
||||
// Force a state refresh to pick up the newly created container.
|
||||
e.refreshContainer(id, true)
|
||||
e.RefreshVolumes()
|
||||
e.RefreshNetworks()
|
||||
|
||||
e.RLock()
|
||||
|
|
Loading…
Reference in New Issue