From 2d9d632666aa3d7f047708d5e93dfb91818014c6 Mon Sep 17 00:00:00 2001 From: Dean Chen <862469039@qq.com> Date: Sun, 16 Aug 2026 11:38:27 +0500 Subject: [PATCH] docs: say -p on the links page is not --link Signed-off-by: Dean Chen <862469039@qq.com> --- content/manuals/engine/network/links.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/content/manuals/engine/network/links.md b/content/manuals/engine/network/links.md index e7133009fdb3..e34c215ce760 100644 --- a/content/manuals/engine/network/links.md +++ b/content/manuals/engine/network/links.md @@ -38,6 +38,10 @@ detail on container linking in default `bridge` network. ## Connect using network port mapping +Publishing a port with `-p` or `-P` is not container linking. It exposes a +container port on the host. For the current reference, see +[Published ports](port-publishing.md). + Let's say you used this command to run a simple Python Flask application: ```console