Balena CLI not working on Apple Mac with M1 ARM Chipset

Hello, since you were able to get the CLI running on your M1 Mac, I don’t think the switch to Apple silicon is the issue here. You may be running up against the issue mentioned here
Since you are only defining your base image as balenalib/%%BALENA_MACHINE_NAME%%-python:latest you are actually getting balenalib/raspberrypi4-64-python:3-stretch-run and this appears to indeed have an arch listed as linux/amd64 as seen here So my suggestion if possible is to use a newer base image by being more specific in your Dockerfile as outlined here. For instance, balenalib/%%BALENA_MACHINE_NAME%%-python:3.6-buster-run or similar which has the correct arch.