-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Open
Description
Module
LocalStack
Testcontainers version
1.18.1
Using the latest Testcontainers version?
No
Host OS
MacOs
Host Arch
ARM
Docker version
Client:
Cloud integration: v1.0.35
Version: 24.0.2
API version: 1.43
Go version: go1.20.4
Git commit: cb74dfc
Built: Thu May 25 21:51:16 2023
OS/Arch: darwin/arm64
Context: desktop-linux
Server: Docker Desktop 4.21.1 (114176)
Engine:
Version: 24.0.2
API version: 1.43 (minimum version 1.12)
Go version: go1.20.4
Git commit: 659604f
Built: Thu May 25 21:50:59 2023
OS/Arch: linux/arm64
Experimental: false
containerd:
Version: 1.6.21
GitCommit: 3dce8eb055cbb6872793272b4f20ed16117344f8
runc:
Version: 1.1.7
GitCommit: v1.1.7-0-g860f061
docker-init:
Version: 0.19.0
GitCommit: de40ad0What happened?
LocalStack container runs in legacy mode, when docker image use sha256 versioning
LocalStackContainer localStack = new LocalStackContainer(
"localstack/localstack:1.4@sha256:4a966e42eff4bbeec44afe13c2d24a67954742b191caae7c15e56186cc0b9ed8")
.withServices(LocalStackContainer.Service.DYNAMODB);Most probably version comparison works incorrect in this case
Relevant log output
No response
Additional Information
Current workaround is to use LocalStackContainer(DockerImageName dockerImageName, boolean legacyMode) but it's deprecated