Not quite sure what is causing this, but to make our setup work on apple with M1 chip we needed to enable rosetta else our mssql container (mcr.microsoft.com/mssql/server:2019-latest) did not work.
But now we are getting this error :
SQLSTATE[01000]: [unixODBC][Driver Manager]Can't open lib '/opt/microsoft/msodbcsql17/lib64/libmsodbcsql -17.6.so.1.1' : file not found