docker / getting-started

Getting started with Docker
Apache License 2.0
2.91k stars 6.4k forks source link

Visit http://localhost:3000 and not seeing anything. #380

Open kevinb1989 opened 1 year ago

kevinb1989 commented 1 year ago

I created a container following the instructions in the doc: https://docs.docker.com/get-started/02_our_app/

I visit http://localhost:3000 and didn't see anything.

lukkyjoe commented 1 year ago

@kevinb1989 in case you made the silly mistake I made: I overlooked the fact that I was supposed to do docker build from the app subdirectory. I accidentally did it at the root directory (where there's already another Dockerfile but not the one we want), and didn't see anything on port 3000. It was just my user error.