TestContainers currently do not run on Apple SIlicon (M1) due to missing architecture issues.
To get around this issue, add JNA as a dependency in your project:
For Maven projects -
<dependency>
<groupId>net.java.dev.jna</groupId>
<artifactId>jna</artifactId>
<version>5.8.0</version>
<scope>test</scope>
</dependency>
For Gradle projects:
testImplementation 'net.java.dev.jna:jna-platform:5.8.0'