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.
Hi 1011,
Thanks for reaching out to us!
May I know the following information of your job as well?
1. job configuration you used for Batch
2. when the job fails, what you get from describing the job (there could be more error information in job at that time.)
Thanks!
1. Job Config
2. Error messages
The Artifact Registry error is bizarre as I've made nearly 1000 batch jobs on different machine types which utilize Docker Images stored in Artifact Registry before.
@1011 We fixed some T2A machine type issues. Just want to check if everything has been working for you now.