jenkins-docs / quickstart-tutorials

Jenkins tutorial files
MIT License
13 stars 194 forks source link

I am getting an issue when I compose Docker #702

Open DevPierce opened 5 days ago

DevPierce commented 5 days ago

When I run; "docker compose --profile python up -d" I get this error; time="2024-10-15T13:21:41-07:00" level=warning msg="The \"GITPOD_WORKSPACE_URL\" variable is not set. Defaulting to a blank string."

I didn't change anything after I cloned the repo

gounthar commented 4 days ago

Thank you for your feedback. We appreciate you bringing this to our attention.

Regarding the issue you've encountered:

  1. Nature of the Message: This should be considered a warning rather than a critical error. It should not prevent your Jenkins controller and agent from starting.

  2. Suggested Troubleshooting Steps: a. To help diagnose the issue, please run the following command in your terminal:

      docker compose --profile python logs -f

    This will display the logs in real-time. Please review the output for any error messages or unusual entries.

    b. Additionally, try accessing Jenkins through your web browser:

  3. Next Steps:

    • If you're able to access Jenkins via the browser, the warning likely isn't impacting core functionality.
    • If you encounter any issues or spot relevant errors in the logs, please share them with us for further investigation.

We're here to help if you need any further assistance or have additional questions. Your input is valuable in improving the Jenkins experience for all users.

DevPierce commented 3 days ago

I forgot to include the error at the bottom of the warnings. Here is the same thing except with the error

time="2024-10-17T13:25:22-07:00" level=warning msg="The \"GITPOD_WORKSPACE_URL\" variable is not set. Defaulting to a blank string."
error during connect: Get "http://%2F%2F.%2Fpipe%2FdockerDesktopWindowsEngine/v1.45/containers/json?all=1&filters=%7B%22label%22%3A%7B%22com.docker.compose.config-hash%22%3Atrue%2C%22com.docker.compose.project%3Dquickstart-tutorials%22%3Atrue%7D%7D": open //./pipe/dockerDesktopWindowsEngine: The system cannot find the file specified.
gounthar commented 2 days ago

Thanks. Which version of Docker Compose, Docker, and WSL2 are you using? The tutorials have been tested with: