Skip to content

Commit

Permalink
tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
gewarren committed May 4, 2024
1 parent 03f90f4 commit 6930eb8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/core/compatibility/containers/8.0/aspnet-port.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Apps built using the older <xref:Microsoft.AspNetCore.WebHost.CreateDefaultBuild

Prior to .NET 8, you could run a container that expected port 80 to be the default port and be able to access the running app.

For example, you could run the following command to access the app locally at port 8000, which is mapped to port 80 in the container:
For example, you could run the following command and then access the app locally at port 8000, which is mapped to port 80 in the container:

`docker run --rm -it -p 8000:80 <my-app>`

Expand Down

0 comments on commit 6930eb8

Please sign in to comment.