Service "backend" is not running container #1

Hi I tried to create site using this command:
docker compose exec backend bench new-site mysite --mariadb-root-password 123 --admin-password admin123 --install-app erpnext
but the result is service “backend” is not running container #1
can someone help me?

check if backend container is running

restart backend container if it’s not running

check logs of backend container if it’s not restarting

you can use any other container with worker image to execute bench commands.