Skip to content

2024年7月18日

This content is a draft and will not be included in production builds.

あとでよむ

充実させたい https://box.hatena.sh/mackerel/%E5%AE%9F%E7%8F%BE%E4%B8%8D%E5%8F%AF%E8%83%BD%E3%81%BE%E3%81%9F%E3%81%AF%E4%BF%9D%E7%95%99%E3%81%97%E3%81%A6%E3%81%84%E3%82%8B%E4%BB%95%E6%A7%98

testcontainers

こんなエラーが出力される

2024/06/03 19:22:58 Failed to get image auth for https://index.docker.io/v1/. Setting empty credentials for the image: localstack/localstack:3.4. Error is:credentials not found in native keychain

DockerHubのレートリミットに当たっているらしい?ECRから落としてみる

docker pull public.ecr.aws/localstack/localstack:latest

modules以下に色々なプリセットが存在するが、それ以外のコンテナが必要ならGenericなコンテナを作って実行すればいいらしい。

https://golang.testcontainers.org/modules/localstack/