boozallen / boozallen/sdp-docs
Getting error in "Validate Jenkins" chapter of the tutorial when first build working with WSL2.
- Dominant language
- JavaScript
- Stars
- 16
- Forks
- 31
- PR merge metrics
- No merged PRs in 30d
Description
Hi. I'm getting this error when trying to run first build in the "Validate Jenkins" chapter of the Templating Engine tutorial:
[JTE] Obtained Pipeline Template from job configuration
Running in Durability level: MAX_SURVIVABILITY
[Pipeline] Start of Pipeline
[Pipeline] node
Running on Jenkins in /var/jenkins_home/workspace/validate
[Pipeline] {
[Pipeline] isUnix
[Pipeline] sh
+ docker inspect -f . maven
The command 'docker' could not be found in this WSL 2 distro.
We recommend to activate the WSL integration in Docker Desktop settings.
See https://docs.docker.com/docker-for-windows/wsl/ for details.
[Pipeline] isUnix
[Pipeline] sh
+ docker pull maven
The command 'docker' could not be found in this WSL 2 distro.
We recommend to activate the WSL integration in Docker Desktop settings.
See https://docs.docker.com/docker-for-windows/wsl/ for details.
[Pipeline] }
[Pipeline] // node
[Pipeline] End of Pipeline
ERROR: script returned exit code 1
Finished: FAILURE
I'm having various wsl distros, even wsl1 and wsl2. But my default wsl distro is setting to one wsl2 valid one (in fact, the jenkins where i'm running the tutorial is executing in a docker container launched from that wsl2 distro -Ubuntu-20.04 for reference-.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with the “Validate Jenkins” chapter and reproduce its first-build steps in the reported WSL2 and Docker Desktop setup. Check whether the tutorial accounts for Docker’s WSL integration and document the required setup or correct the instructions so the build can run successfully.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker
- Domain
- devops, documentation
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100