check whether a container has died with docker rather than ps
since that means one less dependency on running 'weave' in the same
namespace as docker