Run docker container in GitHub codespaces

Hello everyone.
It’s my first time playing around with ERPNext. I was trying to launch it from the docker container available in frappe/frappe_docker github repo, but I’m doing so from a github codespaces machine. I started the machine from a blank template, and everything seems to be up and running, but when I try to access the ERP from the forwarded port, I get a “Not Found - Localhost does not exist” page. The webserver is working, because a 404 is also logged in the console, but I can access no page.
The steps I followed are:

  • Create a new codespace from a blank template;

Then, on the terminal, insert:

git clone https://github.com/frappe/frappe_docker.git
cd frappe_docker
cp -R devcontainer-example .devcontainer
cp -R development/vscode-example development/.vscode

The dev containers extension does not work in codespaces, so I gotta start the container manually:

docker-compose -f .devcontainer/docker-compose.yml up -d
docker exec -e "TERM=xterm-256color" -w /workspace/development -it devcontainer-frappe-1 bash
python installer.py

After the site is created, I try to access it through the forwarded port at potential-space-system-x67g7j97gwp3prw7-8000.app.github.dev , but then I only get the error I described in the beggining.

set the site as default site.
There is a command to set default site for bench, it adds the default site to common_site_config

Thanks, it worked.
But the first site I create won’t always automatically be set as the default one?

bench new-site ... --set-default site.name.tld will set default