Docker Compose Watch not working as expected in the guide
Nobody has claimed this yet.
- Dominant language
- Markdown
- Stars
- 4.7k
- Forks
- 8.5k
- Avg merge
- 2d 18h
- Merged PRs (30d)
- 108
Description
Is this a docs issue?
- My issue is about the documentation content or website
Type of issue
Information is incorrect
Description
Following the Docker Compose Quickstart guide that uses a Flask app for demonstration.
Upon following the guide by word, I realised that upon changing anything in the app.py, the changes are not reflected automatically even when the container is synced and restarted. I think rebuild is still needed.
This might actually be related to misinformation regarding Flask ecosystem rather than the docker setup.
Upon adding the rebuild action to the entire working directory (.) instead of just requirements.txt, it works
Location
https://docs.docker.com/compose/gettingstarted/
Suggestion
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Open the linked Docker Compose getting started guide and inspect the Flask example's Compose Watch configuration, especially the actions for app.py and requirements.txt. Reproduce the issue by changing app.py and verify whether synchronization and restart reflect the change; done when the guide's instructions work as written or clearly explain when a rebuild is required.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker-compose, flask, python
- Domain
- devops, documentation
- Issue type
- Documentation
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 68/100