title: How to resolve Prometheus Node Exporter `node_filesystem_device_error` within Docker and collect filesystem metrics?
body: <p>I am running Prometheus <a href="https://github.com/prometheus/node_exporter" rel="nofollow noreferrer">Node Exporter</a> inside of a Docker container and want it to report filesystem space usage information for filesystems on the Docker container's host.</p>
  <p>For most of my filesystems, most filesystem metrics are absent except for the <code>node_filesystem_device_error</code> metric that signifies that metric collection has failed.</p>
  <p>This could be solved by running the <code>node_exporter</code> binary directly on the host, but I want to run my entire observability infrastructure via Docker.</p>