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

Panic when running docker system prune --all #1317

Closed
arisudesu opened this issue Jun 27, 2021 · 3 comments
Closed

Panic when running docker system prune --all #1317

arisudesu opened this issue Jun 27, 2021 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@arisudesu
Copy link

Dozzle is panicking when running docker system prune --all when having its web interface open. Can not reproduce when it isn't.

Backtrace is:

level=info msg="Dozzle version v3.7.0"
level=info msg="Accepting connections on :8080"
panic: runtime error: slice bounds out of range [:12] with length 0

goroutine 35 [running]:
github.com/amir20/dozzle/docker.(*dockerClient).Events.func1(0xc000352120, 0xc2a960, 0xc00029ec90, 0xc000063ec0)
        /dozzle/docker/client.go:208 +0x296
created by github.com/amir20/dozzle/docker.(*dockerClient).Events
        /dozzle/docker/client.go:194 +0xda
@amir20
Copy link
Owner

amir20 commented Jun 27, 2021

Nice find. I see where this could happen. Won’t have time to fix it for a while so I’ll leave it open.

@amir20 amir20 added the bug Something isn't working label Jun 27, 2021
@amir20 amir20 closed this as completed in 4a26753 Jun 28, 2021
@amir20
Copy link
Owner

amir20 commented Jun 28, 2021

Try master tag and see if it fixes it.

@arisudesu
Copy link
Author

arisudesu commented Jun 28, 2021

Seems to be fixed - can't reproduce with docker :master tag.

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants