ncabatoff / process-exporter

Prometheus exporter that mines /proc to report on selected processes
MIT License
1.72k stars 270 forks source link

exec docker run cannot create a docker container #272

Open JiangJiang77 opened 1 year ago

JiangJiang77 commented 1 year ago

I pulled a image from docker-hub for os amd64 docker image info ncabatoff/process-exporter:latest sha256:041df9dee7942564c1b5dc30e7c60677fdb11e5a3678f85e99b9556de335db0b

then tried to execute docker run like docker run -d --rm -p 9256:9256 --privileged -v /proc:/host/proc -vpwd:/config ncabatoff/process-exporter --procfs /host/proc -config.path /config/filename.yml after run it, docker returned a container id,but I cannot find the container . docker ps -a | grep {container_id} is null journalctl -u docker --no-pager return

time="2023-05-15T17:42:50.065354058+08:00" level=info msg="No non-localhost DNS nameservers are left in resolv.conf. Using default external servers: [nameserver 8.8.8.8 nameserver 8.8.4.4]"
 time="2023-05-15T17:42:50.065515489+08:00" level=info msg="IPv6 enabled; Adding default IPv6 external servers: [nameserver 2001:4860:4860::8888 nameserver 2001:4860:4860::8844]"
 time="2023-05-15T17:42:50.834767233+08:00" level=info msg="ignoring event" container=48ed323b1ba22dbcc1d1f8b5a6a673cb1123644ad6fbea1599ca9fcacff0ad13 module=libcontainerd namespace=moby topic=/tasks/delete type="*events.TaskDelete"