Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Google Batch Job - T2A (ARM) Docker Image help

I'm using Google Batch to create a job which makes a "t2a-standard-4" machine type. However, I can't for the life of me get a Docker Image that this machine is able to execute.

I keep getting a "docker-credential-gcr: Exec format error"

I've tried building my image out with "--platform linux/arm64" and it still doesn't work. I'm building my image on a M1 Mac. I have -not- yet tried using Cloud Build to build my image out as a side note.

This T2A machine utilizes the "Ampere Altra" CPU platform (ARM based) and the operating system is "Debian GNU/Linux 11" which is a arm specific OS.

Do I need to add anything specific to my Dockerfile so it runs on this machine / OS?

The only base image I use in my Dockerfile is "FROM python:3.9", this runs fine on Mac M1 (arm) locally, and when I build for any other format amd, x86, etc, it runs fine as well even on the cloud. Just this t2a-standard-4 machine I am having difficulty with.

Appreciate any help, thanks.

0 3 410