Skip to content

Commit 9af277c

Browse files
committed
minor #10490 Updated the command to run the Docker image (javiereguiluz)
This PR was squashed before being merged into the 2.8 branch (closes #10490). Discussion ---------- Updated the command to run the Docker image We merged #10131 but the command shown to serve the image locally doesn't work for me. I'm using Docker 18.06.0-ce. The change I made in this PR worked for me ... but we'd need the help of Docker experts to verify and discuss about the best possible command that will work under any circumstances. Thanks! Commits ------- f277bdf Updated the command to run the Docker image
2 parents bac5a91 + f277bdf commit 9af277c

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

README.markdown

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ You can build the doc locally with these commands:
2929
# build the image...
3030
$ docker build . -t symfony-docs
3131

32-
# ...and serve it locally on http//:127.0.0.1
33-
$ docker run --rm -p80:80 symfony-docs
32+
# ...and serve it locally on http//:127.0.0.1:8080
33+
# (if it's already in use, change the '8080' port by any other port)
34+
$ docker run --rm -p 8080:80 symfony-docs
3435
```

0 commit comments

Comments
 (0)