Skip to content

Conversation

@ahopp
Copy link
Contributor

@ahopp ahopp commented Oct 28, 2025

Summary

Adds a note to the Docker Compose tutorial clarifying that the application may take 10-15 seconds to fully start after running docker compose up -d --build.

Changes

Updated step 5 in the "Start the application" section to inform users that the application may not be immediately accessible at localhost:3000 and that they should wait a moment and refresh if the page doesn't load right away.

Why this change is needed

When users run docker compose up, Docker reports containers as "Started" once they're running, but the applications inside (Node.js app and MySQL database) still need time to initialize and connect. This causes confusion for beginners who expect immediate accessibility after seeing "Container started" in the CLI output or within the GUI.

Related Issue

Fixes #23500

Add clarification that the application may take 10-15 seconds to fully start
after running docker compose up. This helps users understand why the app may
not be immediately accessible at localhost:3000.

Fixes docker#23500
@netlify
Copy link

netlify bot commented Oct 28, 2025

Deploy Preview for docsdocker ready!

Name Link
🔨 Latest commit aa79a95
🔍 Latest deploy log https://app.netlify.com/projects/docsdocker/deploys/69013ce1efdc9000091295cf
😎 Deploy Preview https://deploy-preview-23621--docsdocker.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@github-actions github-actions bot added the area/get-started Relates to get started and onboarding docs label Oct 28, 2025
Copy link
Contributor

@aevesdocker aevesdocker left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks!

@aevesdocker aevesdocker merged commit 9944982 into docker:main Oct 29, 2025
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/get-started Relates to get started and onboarding docs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Delay before app is accessible after docker-compose up -d --build

2 participants