1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

handle errors during the creation of port mapper

example:

  2013/03/22 21:42:55 Unable to setup port networking: Failed to create DOCKER chain

  (which was possibly introduced by commit 3c6b8bb88)
This commit is contained in:
Sridhar Ratnakumar 2013-03-22 21:43:31 -07:00
parent 690cae0ef4
commit 371225520f

View file

@ -348,6 +348,9 @@ func newNetworkManager(bridgeIface string) (*NetworkManager, error) {
}
portMapper, err := newPortMapper()
if err != nil {
return nil, err
}
manager := &NetworkManager{
bridgeIface: bridgeIface,