-
Notifications
You must be signed in to change notification settings - Fork 2
Closed
Labels
guidanceMatters of layout, shape, and structure.Matters of layout, shape, and structure.
Description
Context
In PR #367, a question was raised about whether docker compose up should be run in detached mode (--detach) in our usage guides.
Current Situation
The current approach uses docker compose up without the --detach flag, which runs containers in the foreground. This means:
- Users see service logs in real-time
- The terminal is blocked, requiring users to open a new terminal for subsequent commands
- Users may not realize they need a new terminal to continue the guide
Proposed Alternative
Using docker compose up --detach would:
- Start services in the background
- Allow users to continue in the same terminal session
- Make the walkthrough more seamless and executable in a single shell
Discussion Points
- Should we standardize on detached mode across all usage guides?
- Is there value in showing logs during startup for debugging/learning purposes?
- Should we provide guidance on viewing logs separately (e.g.,
docker compose logs -f)? - What's the best user experience for documentation walkthroughs?
Please share your thoughts on the optimal approach.
References
Metadata
Metadata
Assignees
Labels
guidanceMatters of layout, shape, and structure.Matters of layout, shape, and structure.