dosubot[bot] commented on issue #31776:
URL: https://github.com/apache/superset/issues/31776#issuecomment-2581700637

   <!-- Greeting -->
   Hello, @zsw4579! I'm here to help you with any bugs, questions, or 
contributions. Let's tackle this issue together while we wait for a human 
maintainer.
   
   <!-- Answer -->
   The issue you're encountering with the Docker image failing to start and 
errors such as "command not found" and "No such file or directory" is a known 
problem with Superset version 4.1.1 when using Python 3.10 and Node 18 or 
greater. This is due to a mismatch between the mounted `docker/` folder scripts 
and older Docker images that don't include certain dependencies like 'uv' 
<sup>[[1]](https://github.com/apache/superset/issues/31510)</sup>.
   
   To resolve this issue, you can try the following solutions:
   
   1. **Revert to an Older Version**: You can revert to an older version of the 
repository to ensure compatibility between the mounted scripts and the 
container image by running:
      ```bash
      git fetch --tags
      git checkout 4.1.1
      ```
   
   2. **Modify the Scripts**: Edit the `docker/docker-bootstrap.sh` and 
`docker/pip-install.sh` scripts to replace all instances of `uv pip` with just 
`pip`.
   
   3. **Use a Non-Dev Compose File**: Run the Docker setup using a non-dev 
compose file:
      ```bash
      docker compose -f docker-compose-non-dev.yml up
      ```
   
   Additionally, a permanent fix is being implemented in PR #31588, which adds 
`pip install uv` to the bootstrap script. This should address the issue in 
future releases 
<sup>[[1]](https://github.com/apache/superset/issues/31510)</sup>.
   
   
   <!-- Dosu Comment Footer -->
   *To continue talking to [Dosu](https://dosu.dev), mention @dosu.*
   
   ---
   <sup>Help Dosu learn! Give it feedback: [Great 
Response](https://app.dosu.dev/response-feedback/809d6332-b41e-4859-a2a8-228d0d654d98?feedback_type=great_response)
 | [Irrelevant 
Answer](https://app.dosu.dev/response-feedback/809d6332-b41e-4859-a2a8-228d0d654d98?feedback_type=irrelevant_answer)
 | [Incorrect 
Sources](https://app.dosu.dev/response-feedback/809d6332-b41e-4859-a2a8-228d0d654d98?feedback_type=incorrect_sources)
 | [Too 
Verbose](https://app.dosu.dev/response-feedback/809d6332-b41e-4859-a2a8-228d0d654d98?feedback_type=too_verbose)
 | 
[Hallucination](https://app.dosu.dev/response-feedback/809d6332-b41e-4859-a2a8-228d0d654d98?feedback_type=hallucination)
 | 
[Other](https://app.dosu.dev/response-feedback/809d6332-b41e-4859-a2a8-228d0d654d98?feedback_type=other)</sup>
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to