Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generator leaks Docker containers after each run #1308

Open
dg-rdaumann opened this issue Dec 4, 2024 · 0 comments
Open

Generator leaks Docker containers after each run #1308

dg-rdaumann opened this issue Dec 4, 2024 · 0 comments

Comments

@dg-rdaumann
Copy link

Host operating system: output of uname -a

Darwin 24.1.0 Darwin Kernel Version 24.1.0: Thu Oct 10 21:02:27 PDT 2024; root:xnu-11215.41.3~2/RELEASE_X86_64 x86_64
Using Docker Desktop with Docker 27.3.1

snmp_exporter version: output of snmp_exporter -version

Git commit e9a9866

What device/snmpwalk OID are you using?

if_mib: sysUpTime

If this is a new device, please link to the MIB(s).

--

What did you do that produced an error?

Run

make docker-generate
docker ps -a

What did you expect to see?

No new container in the docker ps output.

What did you see instead?

A new stopped container after each invocation of make docker-generate

Adding --rm to the docker run command in the Makefile should be sufficient.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant