dotcloud/docker — pull request #1334 by vieux (2013-07-29 17:06:44+00:00)
Title: Discard error when loading old container format

UDP changed the format of `Container.NetworkSetting.PortMapping`
A struct only used when the container running, otherwise it's `nil`, (the information is kept on `Container.PortSpecs`)

So if an "old container" is stopped on "0.4.8" and restarted in "0.5.0" no problem.
But if the 0.4.8 docker daemon in killed and the container restarted in 0.5.0, the JSON UnMarshal will fail because of this. See #1314

So, if UnMarshal fail on `PortMapping` we can skip the error.