Hi, I am trying to install using Docker. Also commented out, MariaDB service and uncommented PostgreSQL(As I am using Postgresql). Getting error at the step of:
To install ERPNext (from the version-12 branch):
bench get-app --branch version-12 erpnext https://github.com/frappe/erpnext.git
bench --site mysite.localhost install-app erpnext
The error is :
frappe@27fbbc2ad426:/workspace/development/frappe-bench$ bench --site myicicle.localhost install-app erpnext
WARN: bench is installed in editable mode!
This is not the recommended mode of installation for production. Instead, install the package from PyPI with: `pip install frappe-bench`
An error occurred while installing erpnext:
could not translate host name "postgres" to address: Name or service not known
I had the same issue, btw, I was installing Docker for the first time on my Win 10 pro machine. The culprit was.
Windows new feature Controlled Folder Access for Ransomware protection was turned on and which was not allowing docker to create a short cut on desktop. After turning Controlled folder access ‘off’, I was able to install the docker. I think by unchecking ‘create desktop shortcut’ while installing docker should cause no problem as well, however, I have not tried it.