Cannot find site directory and cannot run list-sites in ERPNext Docker

I’m new with dockerize ERPNext and also in how to setup. After many attempt, i success in install ERPNext using docker (GitHub - frappe/frappe_docker: Docker images for production and development setups of the Frappe framework and ERPNext)

i try to create 2 new sites and success. But then i cannot find site directory and cannot find it using command "docker-compose exec backend bench list-sites. Can anyone help me with this?

This is some image that might help in explanation
Command list-sites

Create New Site

There isn’t a command like this in bench.

I think you can use bench lists-app

And also we check the post in the community regarding this (bench list-sites) command.

Check the similar post:
https://discuss.frappe.io/search?q=docker-compose%20exec%20backend%20bench

Thank You!

what command should i use to view my site list that i create? or is there should be a sites directory? cause when i try to use ISO file, i can see there are sites directory

https://frappeframework.com/docs/user/en/basics/sites#sites-directory

similar like

cd /home/frappe/frappe-bench

cd sites
ls

i’ll try that, somehow i cannot access bash mode for now

Hi,

Do either of these work?
docker exec -t (container) sh -c “ls sites”
docker exec -it <container) /bin/bash

Make sure the container is running:
docker container ls

Thank you so much, this works very well.
i already know what my site list and already set one of them to default
but i don’t know hot to access it, can you help me as well?

docker exec -it <container) /bin/bash should get you into the container , to access the web site, enter the address and published port in browser address bar.