Skip to content

Commit 58b8e1f

Browse files
authored
Merge pull request moby#5112 from thaJeztah/dockerfile_fix_links
docs: dockerfile-reference: fix links
2 parents f7bda27 + 9721d56 commit 58b8e1f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

frontend/dockerfile/docs/reference.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1058,7 +1058,7 @@ the `-p` flag. For example
10581058
$ docker run -p 80:80/tcp -p 80:80/udp ...
10591059
```
10601060

1061-
To set up port redirection on the host system, see [using the -P flag](https://docs.docker.com/engine/reference/run/#expose-incoming-ports).
1061+
To set up port redirection on the host system, see [using the -P flag](https://docs.docker.com/reference/cli/docker/container/run/#publish).
10621062
The `docker network` command supports creating networks for communication among
10631063
containers without the need to expose or publish specific ports, because the
10641064
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
11001100
change them using `docker run --env <key>=<value>`.
11011101

11021102
A stage inherits any environment variables that were set using `ENV` by its
1103-
parent stage or any ancestor. Refer [here](https://docs.docker.com/build/building/multi-stage/)
1104-
for more on multi-staged builds.
1103+
parent stage or any ancestor. Refer to the [multi-stage builds section](https://docs.docker.com/build/building/multi-stage/)
1104+
in the manual for more information.
11051105

11061106
Environment variable persistence can cause unexpected side effects. For example,
11071107
setting `ENV DEBIAN_FRONTEND=noninteractive` changes the behavior of `apt-get`,

0 commit comments

Comments
 (0)