2
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

Docker Desktop 4.54.0でSAM CLIが動かなくなったときの対処法

Posted at

問題

Docker Desktopを4.54.0にアップグレード後、sam-cliを使用すると以下のエラーが出る

Error: Building image for [function-name] requires Docker. is Docker running?

原因

Docker Engine v29で最小APIバージョンが1.44に引き上げられた。
SAM CLI(1.146.0以前)が使用するdocker-pyはAPI 1.35のため、接続を拒否される。

解決策

SAM CLIをアップグレードするだけ

brew upgrade aws-sam-cli

バージョン1.147.0以降で修正済み。

同じ問題で沼る人が少しでも減ることを祈ります🙏

参考

2
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?