Add Windows WSL Docker troubleshooting documentation #14301
+173
−0
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
This PR adds comprehensive Windows WSL Docker troubleshooting documentation to address "exec format error" issues when running DefectDojo in WSL environments.
Problem Addressed:
Users running DefectDojo with Docker in Windows WSL encounter "exec /wait-for-it.sh: exec format error" due to:
Solution Implemented:
readme-docs/DOCKER.md.editorconfigfor prevention (shell scripts and Dockerfiles only)Files Changed:
/docker/directory (18 files).editorconfigtargeting only WSL Docker issuesreadme-docs/DOCKER.mdwith WSL troubleshooting sectionTest results
Tested scenarios:
http://localhost:8080Testing environment:
Documentation
Updated
readme-docs/DOCKER.mdwith:Checklist
bugfix✅bugfixbranch ✅Labels to add:
bugfix(fixes WSL container startup issues)documentation(adds missing WSL troubleshooting)Extra information
This contribution addresses a significant pain point for Windows developers using WSL, which is a common development environment. The documentation provides both immediate solutions for existing issues and prevention measures for new setups.
The PowerShell scripts provided can be easily copy-pasted by users experiencing the issue, making the troubleshooting process straightforward and accessible.
Commits in this PR:
294beed600Add Windows WSL Docker troubleshooting documentation934d0cb5c8Simplify EditorConfig to minimal WSL Docker fix