Skip to content

Conversation

@ZacharyScheer16
Copy link

Description
This PR enhances the Docker Compose "How-to" guide by clarifying how to properly clean up shared services.

Changes:

Added a [NOTE] block to the sharing-services section.

Clarified that while docker compose stop halts containers, docker compose down should be used to fully remove containers, networks, and anonymous volumes.

Why this is useful: The current documentation mentions start-only lifecycle management for shared services and notes that services remain running after the application stops. While it suggests docker compose stop for manual cleanup, beginners often encounter "stale" container issues if networks and volumes aren't also cleared. Explicitly mentioning docker compose down provides a completer and more modern workflow for local development.

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Jan 28, 2026
@ZacharyScheer16 ZacharyScheer16 force-pushed the docs/docker-compose-cleanup-note branch from 4271676 to 85aea52 Compare January 28, 2026 03:26
Signed-off-by: Zachary Scheer <zscheer00@gmail.com>
@ZacharyScheer16 ZacharyScheer16 force-pushed the docs/docker-compose-cleanup-note branch from 85aea52 to f9724d0 Compare January 28, 2026 03:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

status: waiting-for-triage An issue we've not yet triaged

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants