-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error running Frappe on Mac M1 Arm64 #1537
Comments
I created a new repository. Did the git clone again. naman@Namans-MacBook-Pro frappe_docker % docker compose -f pwd.yml up -d
[+] Running 15/16
⠿ Network frappe_docker_frappe_network Created 0.1s
⠿ Volume "frappe_docker_logs" Created 0.0s
⠿ Volume "frappe_docker_redis-cache-data" Created 0.0s
⠿ Volume "frappe_docker_db-data" Created 0.0s
⠿ Volume "frappe_docker_redis-queue-data" Created 0.0s
⠿ Volume "frappe_docker_sites" Created 0.0s
⠿ Container frappe_docker-redis-queue-1 Created 0.2s
⠿ Container frappe_docker-redis-cache-1 Created 0.2s
⠿ Container frappe_docker-queue-short-1 Created 0.3s
⠿ Container frappe_docker-queue-long-1 Created 0.3s
⠿ Container frappe_docker-scheduler-1 Created 0.3s
⠿ Container frappe_docker-websocket-1 Created 0.3s
⠿ Container frappe_docker-db-1 Created 0.2s
⠸ Container frappe_docker-create-site-1 Creating 0.4s
⠿ Container frappe_docker-backend-1 Created 0.3s
⠸ Container frappe_docker-configurator-1 Creating 0.4s
⠿ Container frappe_docker-frontend-1 Created 0.1s
Error response from daemon: invalid restart policy 'none' |
Hope someone using mac helps you. |
I'm getting the same error, were you able to fix it? |
So I was able to make it run
|
seems not to be mac related, im getting the same error "Error response from daemon: invalid restart policy 'none'" when running docker compose -f pwd.yml up -d on windows |
here is what i did to fix this issue: step 1: git clone https://github.com/frappe/frappe_docker |
I deployed it without the docker on my system for the time being. I was able to deploy it on AWS with same code easily. |
@codewithjaspreet is it like
or something along those lines? Here is my gist that contains my working docker compose .yaml file, and my observations :333 |
Steps performed:
git clone https://github.com/frappe/frappe_docker
cd frappe_docker
docker buildx bake --no-cache --set "*.platform=linux/arm64"
add platform: linux/arm64 to all services in the pwd.yaml
replace the current specified versions of erpnext image on pwd.yml with :latest
Then run: docker compose -f pwd.yml up -d
This is what my yaml file looks like:
Got the following error:
I tried with
version: "latest"
version: latest
The text was updated successfully, but these errors were encountered: