1️⃣ What was released / announced
Docker just rolled out a minor but eye‑opening change in the Docker Engine (v24.0.5) that tightens the way the daemon interprets the build context. In plain English: Docker now ignores files that match both .dockerignore and .gitignore when you run docker build . The change was introduced to cut down on accidental inclusion of large source files, but it also surfaces a long‑standing quirk – Docker’s ignore handling has always been a bit weird and undocumented.
2️⃣ Why it matters
If you’re building AI pipelines, model containers, or any data‑intensive service, the size of your image directly impacts:
Cold‑start latency – larger layers mean longer pulls on the edge.
CI/CD costs – every extra megabyte adds up in cloud storage and transfer fees.
Security surface area – stray source files, credentials, or test data can unintentionally ship with your image.
The new behavior forces us to audit our ignore files .…