mirror of
https://github.com/docker/docs.git
synced 2026-10-31 10:34:26 +03:00
refresh volumes after creating a container
Signed-off-by: Victor Vieux <vieux@docker.com>
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user