#53789·Docker

docs(libnetwork): broken image link in design.md for Container Network Model diagram

Author: auroraxoCreated Sep 27, 2026Updated Sep 27, 2026

Description

In daemon/libnetwork/docs/design.md, the Container Network Model diagram uses a root-relative path that resolves to nowhere at the repository root, while the image itself lives in the same directory alongside the document:

Line 19:

markdown
![](/docs/cnm-model.jpg?raw=true)
  • Target requested by the root-relative path: docs/cnm-model.jpg → HTTP 404 (does not exist)
  • Actual location of the image file: daemon/libnetwork/docs/cnm-model.jpg → HTTP 200 (exists in the same folder as design.md)

When viewing design.md on GitHub, the CNM diagram in the "The Container Network Model" section renders as a broken image.

Steps to reproduce

  1. Open https://github.com/moby/moby/blob/master/daemon/libnetwork/docs/design.md#the-container-network-model
  2. Observe the broken image directly below the section heading.
  3. Observe raw URLs:
    • curl -I https://raw.githubusercontent.com/moby/moby/master/docs/cnm-model.jpg -> 404
    • curl -I https://raw.githubusercontent.com/moby/moby/master/daemon/libnetwork/docs/cnm-model.jpg -> 200

Suggested fix

Change the image reference on line 19 of daemon/libnetwork/docs/design.md from /docs/cnm-model.jpg?raw=true to the local relative path:

markdown
![](cnm-model.jpg)

(The file cnm-model.jpg is in the same directory.)

Additional context

Found during a systematic documentation-rot audit of open source repositories (https://codebyaurora.com/docrot/).