Issue with local project setup using docker

Iam trying to setup plone locally using docker , even though i have both backend and frontend containers running, going to localhost:3000 does not the load the site, it just keeps on loading.

this is the output of the docker ps command:

CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
7a9cfb7533b3 plone/plone-frontend:latest "yarn start:prod" 34 minutes ago Up 8 seconds (healthy) 0.0.0.0:3000->3000/tcp, :::3000->3000/tcp plone6-frontend
929c479d8308 plone/plone-backend:6.0 "/app/docker-entrypo…" 37 minutes ago Up 37 minutes (healthy) 0.0.0.0:8080->8080/tcp, :::8080->8080/tcp plone6-backend

How you started docker containers? It maybe the port 3000 is not exposed or it maybe using the exposed port 80. So we need to know how you started the docker containers.

Or, it maybe another thing, did you created the any breakpoint in the backend code (it happens to me all the time)?

Sometimes I forget to create site, so it maybe another reason.

sudo docker run --name plone6-backend -e SITE=Plone -e CORS_ALLOW_ORIGIN='*' -d -p 8080:8080 plone/plone-backend:6.0

sudo docker run --name plone6-frontend --link plone6-backend:backend -e RAZZLE_API_PATH=http://localhost:8080/Plone -e RAZZLE_INTERNAL_API_PATH=http://backend:8080/Plone -d -p 3000:3000 plone/plone-frontend:latest

these are the commands I used to run the docker containers, these commands were taken from the plone documentation.

this was the output of the docker ps command:

CONTAINER ID   IMAGE                         COMMAND                  CREATED              STATUS                        PORTS                                       NAMES
34c4a61463cf   plone/plone-frontend:latest   "yarn start:prod"        20 seconds ago       Up 19 seconds (healthy)       0.0.0.0:3000->3000/tcp, :::3000->3000/tcp   plone6-frontend
f32a68f175e6   plone/plone-backend:6.0       "/app/docker-entrypo…"   About a minute ago   Up About a minute (healthy)   0.0.0.0:8080->8080/tcp, :::8080->8080/tcp   plone6-backend

the ports mentioned here for frontend is 0.0.0.0:3000->3000/tcp, :::3000->3000/tcp and backend is 0.0.0.0:8080->8080/tcp, :::8080->8080/tcp

I confirmed the process were actually running on the port using netstat and lsof commands:

netstat -tulpn | grep 3000

tcp        0      0 0.0.0.0:8080            0.0.0.0:*               LISTEN      -                   
tcp6       0      0 :::8080                 :::*                    LISTEN      -

lsof -i :3000

COMMAND       PID USER FD   TYPE  DEVICE SIZE/OFF NODE NAME
docker-pr 1209917 root 4u  IPv4 4801921      0t0  TCP *:hbci (LISTEN)
docker-pr 1209923 root 4u  IPv6 4801041      0t0  TCP *:hbci (LISTEN)

I didnt get the part where you mentioned about the breakpoint in the backend code, what exactly are you mentioning to? How should i proceed?