It installed successfully and working on browser as well.
The problem is in the backend using filezilla i can’t find the bench folder. also thats why i am unable to use the bench commands.
Can any body guide me how to use and access frappe bench in docker installation?
Hi Revant,
I’m trying to clear cache for a production ERPNext site and I understand that Bench is not available in production images, so I tried to use the bench helper to run the command but I got the error “docker: invalid reference format.”.
Here is the command I tried: docker run -v rockerp_sites-vol:/home/frappe/frappe-bench/sites --network rockerp_default --user frappe frappe/frappe-worker:$FRAPPE_VERSION bench --site rockerp.co.nz clear-cache
Just had a similar issue and was able to access the docker-frappe container to call bench commands using docker-compose:
docker-compose --project-name crm exec erpnext-python "bash"
# now you are in the python container
cd {YOUR_SITENAME}
# Then you can call bench commands
you can execute the bench commands from the ~/frappe-bench/sites directory. No need to change to {YOUR_SITE} unless you need to edit any config files or do any other changes.