<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>swx-keita-matsushita</author_name>
  <author_url>https://blog.hatena.ne.jp/swx-keita-matsushita/</author_url>
  <blog_title>サーバーワークスエンジニアブログ</blog_title>
  <blog_url>https://blog.serverworks.co.jp/</blog_url>
  <categories>
    <anon>AWS SAM</anon>
    <anon>Tips</anon>
  </categories>
  <description>はじめに こんにちは、新人エンジニアの松下です。 SAM を使った研修課題に取り組んでいたところ、コンテナビルドでシンボリックリンクを含むプロジェクトがエラーになる問題に遭遇しました。 エラーメッセージには openat2 ...libs: not a directory と表示され、一見 Docker やコンテナランタイムの根本的な制約に見えます。 しかし調査の結果、真の原因は Ubuntu パッケージの runc 1.3.3 のバグでした。 この記事では、エラーの発生から誤った仮説を立てて回り道した経緯、根本原因の特定、そして解決策までをまとめます。 対象読者 WSL2 / Ubuntu …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.serverworks.co.jp%2Fsam-build-symlink-runc-bug&quot; title=&quot;SAM コンテナビルドの「not a directory」エラーの落とし穴 - サーバーワークスエンジニアブログ&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2026-04-03 11:31:42</published>
  <title>SAM コンテナビルドの「not a directory」エラーの落とし穴</title>
  <type>rich</type>
  <url>https://blog.serverworks.co.jp/sam-build-symlink-runc-bug</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
