Docker Compose Watch not working as expected in the guide
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 68/100
- Issue type
- Documentation
- Clarity
- Mostly clear
- Activity status
- Quiet
- Tech stack
- docker-compose, flask, python
- Domain
- devops, documentation
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.
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
- Dominant language
- Markdown
- Stars
- 4.7k
- Forks
- 8.5k
- Avg merge
- 2d 12h
- Merged PRs (30d)
- 104
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.
More from docker/docs
-
Difficulty 1/5 Under an hour Newbie friendliness 95/100
-
Difficulty 1/5 Under an hour Newbie friendliness 95/100
-
Difficulty 1/5 Under an hour Newbie friendliness 92/100
-
status/triage
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
area/dhi status/triage
Difficulty 1/5 1-3 hours Newbie friendliness 88/100
Similar issues
-
Difficulty 1/5 Under an hour Newbie friendliness 84/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
sympozium-ai/sympozium#627 ·
-
repo:raw-data
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
hotosm/raw-data-api#316 · 1 comment ·
-
agentic-workflows cascade-suspected
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
willow
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
openedx/openedx-authz#460 ·