Skip to content

Commit e6cdf24

Browse files
committed
windows: include labels when re-creating non-default nat networks
Signed-off-by: Olli Janatuinen <olli.janatuinen@gmail.com>
1 parent f776cd6 commit e6cdf24

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

daemon/daemon_windows.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -285,6 +285,7 @@ func (daemon *Daemon) initNetworkController(daemonCfg *config.Config, activeSand
285285
netlabel.GenericData: netOption,
286286
}),
287287
libnetwork.NetworkOptionIpam("default", "", v4Conf, v6Conf, nil),
288+
libnetwork.NetworkOptionLabels(v.Labels()),
288289
)
289290
if err != nil {
290291
log.G(context.TODO()).Errorf("Error occurred when creating network %v", err)

0 commit comments

Comments
 (0)