env Детали:-
[*] версия ранчо: 1.18.0 < /p>
< /li>
kubernetes версия: 1.31.5 < /p>
< /li>
ce: moby < /p>
< /li>
Версия TestContainers: 1.15.3 < /p>
< /li>
intelliJ Версия: версия времени выполнения: 21.0.6+8-b631.39 Aarch64 (JCEF 122.1.9), VM: OpenJDK 64-битный сервер VM от JetBrains S.R.O
Mac OS: Sonoma (14.6) < /li>
jdk: openjdk version "17.0.14" 2025-01-21 < /p>
Дерево зависимости JNA < /strong>:-
[info]-io.appform.testcontainer: junit-testcontainer-commons: jar: 1.0.6: тест
[info ] - org.testcontainers: testcontainers: jar: 1.15.3: тест
[info] + - org.rnorth -net.java.dev.jna: jna: jar: 5.2.0: test
[info]-com.github.docker-java: docker-java-transport-rerodep: jar: 3.2.8: тест [info] - (net.java.dev.jna: jna: jar: 5.8.0: тест - пропущен для конфликта с 5.2.0) < /p>
< /li>
< /ul>
Уже проверенное решение:-
Тестовые тестовые тестовые. Тестовые случаи испытательные. >
Ошибка:-< /p>
Код: Выделить всё
2025-02-25 21:55:47.004 INFO o.t.d.DockerMachineClientProviderStrategy:58 - docker-machine executable was not found on PATH ([/Users/amrit.anand/.rd/bin, /Users/amrit.anand/.rd/bin, /opt/homebrew/bin, /opt/homebrew/sbin, /usr/local/bin, /System/Cryptexes/App/usr/bin, /usr/bin, /bin, /usr/sbin, /sbin, /var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin, /var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin, /var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin])
2025-02-25 21:55:52.107 ERROR o.t.d.DockerClientProviderStrategy:208 - Could not find a valid Docker environment. Please check configuration. Attempted configurations were:
2025-02-25 21:55:52.108 ERROR o.t.d.DockerClientProviderStrategy:210 - UnixSocketClientProviderStrategy: failed with exception RuntimeException (java.lang.UnsatisfiedLinkError: /Users/amrit.anand/Library/Caches/JNA/temp/jna9558949929743584872.tmp: dlopen(/Users/amrit.anand/Library/Caches/JNA/temp/jna9558949929743584872.tmp, 0x0001): tried: '/Users/amrit.anand/Library/Caches/JNA/temp/jna9558949929743584872.tmp' (fat file, but missing compatible architecture (have 'i386,x86_64', need 'arm64e' or 'arm64')), '/System/Volumes/Preboot/Cryptexes/OS/Users/amrit.anand/Library/Caches/JNA/temp/jna9558949929743584872.tmp' (no such file), '/Users/amrit.anand/Library/Caches/JNA/temp/jna9558949929743584872.tmp' (fat file, but missing compatible architecture (have 'i386,x86_64', need 'arm64e' or 'arm64'))). Root cause UnsatisfiedLinkError (/Users/amrit.anand/Library/Caches/JNA/temp/jna9558949929743584872.tmp: dlopen(/Users/amrit.anand/Library/Caches/JNA/temp/jna9558949929743584872.tmp, 0x0001): tried: '/Users/amrit.anand/Library/Caches/JNA/temp/jna9558949929743584872.tmp' (fat file, but missing compatible architecture (have 'i386,x86_64', need 'arm64e' or 'arm64')), '/System/Volumes/Preboot/Cryptexes/OS/Users/amrit.anand/Library/Caches/JNA/temp/jna9558949929743584872.tmp' (no such file), '/Users/amrit.anand/Library/Caches/JNA/temp/jna9558949929743584872.tmp' (fat file, but missing compatible architecture (have 'i386,x86_64', need 'arm64e' or 'arm64')))
2025-02-25 21:55:52.109 ERROR o.t.d.DockerClientProviderStrategy:210 - UnixSocketClientProviderStrategy: failed with exception RuntimeException (java.lang.NoClassDefFoundError: Could not initialize class com.github.dockerjava.transport.DomainSocket). Root cause ExceptionInInitializerError (Exception java.lang.UnsatisfiedLinkError: /Users/amrit.anand/Library/Caches/JNA/temp/jna9558949929743584872.tmp: dlopen(/Users/amrit.anand/Library/Caches/JNA/temp/jna9558949929743584872.tmp, 0x0001): tried: '/Users/amrit.anand/Library/Caches/JNA/temp/jna9558949929743584872.tmp' (fat file, but missing compatible architecture (have 'i386,x86_64', need 'arm64e' or 'arm64')), '/System/Volumes/Preboot/Cryptexes/OS/Users/amrit.anand/Library/Caches/JNA/temp/jna9558949929743584872.tmp' (no such file), '/Users/amrit.anand/Library/Caches/JNA/temp/jna9558949929743584872.tmp' (fat file, but missing compatible architecture (have 'i386,x86_64', need 'arm64e' or 'arm64')) [in thread "ducttape-0"])
2025-02-25 21:55:52.109 ERROR o.t.d.DockerClientProviderStrategy:212 - As no valid configuration was found, execution cannot continue
Подробнее здесь: https://stackoverflow.com/questions/794 ... nvironment