Skip to content
New issue

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

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

Already on GitHub? # to your account

[bug] Fixed the panic for uninitialized docker daemon #1958

Merged
merged 1 commit into from
Mar 22, 2025

Conversation

Manik2708
Copy link
Contributor

Purpose of PR?:

Fixes #1948

Does this PR introduce a breaking change? No

If the changes in this PR are manually verified, list down the scenarios covered::

Additional information for reviewer? :
cc @daemon1024 I am not able to reproduce the error, please can you verify whether this change is able to avoid panic or help me in reproducing this panic

Checklist:

  • Bug fix. Fixes #
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update
  • PR Title follows the convention of <type>(<scope>): <subject>
  • Commit has unit tests
  • Commit has integration tests

@Manik2708
Copy link
Contributor Author

@daemon1024 Please see the description!

@Manik2708
Copy link
Contributor Author

@rksharma95 @Aryan-sharma11 @daemon1024 Please review!

@Manik2708
Copy link
Contributor Author

@Aryan-sharma11 Have made the changes, please review!

@Aryan-sharma11 Aryan-sharma11 force-pushed the panic branch 2 times, most recently from 617cf8d to c3b3b99 Compare February 28, 2025 06:18
@Manik2708
Copy link
Contributor Author

@Aryan-sharma11 Really sorry for the long wait, kindly review. I think if we don't want to destroy the daemon, then just returning on error will be enough. Please provide your suggestions to this!

Signed-off-by: Manik2708 <mehtamanik96@gmail.com>
@Manik2708
Copy link
Contributor Author

@Aryan-sharma11 @daemon1024 Cleaned the commit history! Please review!

@Aryan-sharma11 Aryan-sharma11 merged commit 136a8a1 into kubearmor:main Mar 22, 2025
17 checks passed
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

KubeArmor Panic if uninitialised docker socket exists
3 participants