mirror of
https://github.com/docker/cli.git
synced 2026-01-16 20:22:36 +03:00
Preinitialize MountPoints to avoid assigning to a nil map
Fixes #13435 Signed-off-by: Darren Shepherd <darren@rancher.com> Upstream-commit: 59214a0737560a8a2386884dc438b4b003d407ba Component: engine
This commit is contained in:
@@ -161,6 +161,7 @@ func (daemon *Daemon) load(id string) (*Container, error) {
|
||||
CommonContainer: CommonContainer{
|
||||
State: NewState(),
|
||||
root: daemon.containerRoot(id),
|
||||
MountPoints: make(map[string]*mountPoint),
|
||||
execCommands: newExecStore(),
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user