From 9721d56cab6771d61dca92dd953c01e1932c2336 Mon Sep 17 00:00:00 2001 From: Sebastiaan van Stijn Date: Tue, 2 Jul 2024 20:44:50 +0200 Subject: [PATCH] docs: dockerfile-reference: fix links The section describing `-P` / `--publish-all` was moved to the CLI run command reference, so updating the link. Als updated a link caption that was using "here" as caption, which makes it harder to spot the link. Signed-off-by: Sebastiaan van Stijn --- frontend/dockerfile/docs/reference.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/frontend/dockerfile/docs/reference.md b/frontend/dockerfile/docs/reference.md index 54271606b755..6e4cea59b36a 100644 --- a/frontend/dockerfile/docs/reference.md +++ b/frontend/dockerfile/docs/reference.md @@ -1058,7 +1058,7 @@ the `-p` flag. For example $ docker run -p 80:80/tcp -p 80:80/udp ... ``` -To set up port redirection on the host system, see [using the -P flag](https://docs.docker.com/engine/reference/run/#expose-incoming-ports). +To set up port redirection on the host system, see [using the -P flag](https://docs.docker.com/reference/cli/docker/container/run/#publish). The `docker network` command supports creating networks for communication among containers without the need to expose or publish specific ports, because the containers connected to the network can communicate with each other over any @@ -1100,8 +1100,8 @@ from the resulting image. You can view the values using `docker inspect`, and change them using `docker run --env =`. A stage inherits any environment variables that were set using `ENV` by its -parent stage or any ancestor. Refer [here](https://docs.docker.com/build/building/multi-stage/) -for more on multi-staged builds. +parent stage or any ancestor. Refer to the [multi-stage builds section](https://docs.docker.com/build/building/multi-stage/) +in the manual for more information. Environment variable persistence can cause unexpected side effects. For example, setting `ENV DEBIAN_FRONTEND=noninteractive` changes the behavior of `apt-get`,