Skip to content

[Aikido] AI Fix for Docker container runs as default root user#4

Merged
ahaodev merged 1 commit intomainfrom
fix/aikido-security-sast-22426344-4ghd
Apr 9, 2026
Merged

[Aikido] AI Fix for Docker container runs as default root user#4
ahaodev merged 1 commit intomainfrom
fix/aikido-security-sast-22426344-4ghd

Conversation

@aikido-autofix
Copy link
Copy Markdown
Contributor

@aikido-autofix aikido-autofix bot commented Apr 9, 2026

This patch mitigates the container running as root by creating a non-root user with UID 1000, transferring ownership of application files, and switching to that user before runtime.

Aikido used AI to generate this PR.

Medium confidence: Aikido has validated similar fixes and observed positive outcomes. Validation is required.

@ahaodev ahaodev merged commit 8949501 into main Apr 9, 2026
1 check passed
@ahaodev ahaodev deleted the fix/aikido-security-sast-22426344-4ghd branch April 9, 2026 02:22
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

Successfully merging this pull request may close these issues.

1 participant