Skip to content

Commit 1069a31

Browse files
authored
Merge pull request docker#10301 from shunwen/patch-1
Fix mismatch port number describing `EXPOSE 8080`
2 parents 36aba6a + 292a8bc commit 1069a31

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

get-started/part2.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ The steps above built up the filesystem of our image, but there are other lines
128128

129129
The `CMD` directive is our first example of specifying some metadata in our image that describes how to run a container based on this image. In this case, it's saying that the containerized process that this image is meant to support is `npm start`.
130130

131-
The `EXPOSE 8080` informs Docker that the container is listening on port 8000 at runtime.
131+
The `EXPOSE 8080` informs Docker that the container is listening on port 8080 at runtime.
132132

133133
What you see above is a good way to organize a simple Dockerfile; always start with a `FROM` command, follow it with the steps to build up your private filesystem, and conclude with any metadata specifications. There are many more Dockerfile directives than just the few we see above; for a complete list, see the [Dockerfile reference](https://docs.docker.com/engine/reference/builder/).
134134

0 commit comments

Comments
 (0)