Add metrics output to docker Upstream-commit: 33474a11fea50d50c1d365b29b94b978b2b6fff7 Component: engine