Skip to content

Commit

Permalink
Update README.md (#164)
Browse files Browse the repository at this point in the history
  • Loading branch information
richlander authored and MichaelSimons committed Jun 13, 2018
1 parent 5ed016a commit 4f083d1
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion samples/README.md
Expand Up @@ -14,6 +14,18 @@ Type the following [Docker](https://www.docker.com/products/docker) command:
docker run --rm microsoft/dotnet-framework-samples
```

## Try a pre-built ASP.NET Docker Image

You can quickly run a container with a pre-built [sample ASP.NET Docker image](https://hub.docker.com/r/microsoft/dotnet-samples/), based on the [ASP.NET Docker sample].

Type the following [Docker](https://www.docker.com/products/docker) command:

```console
docker run --name aspnet_sample --rm -it -p 8000:80 microsoft/dotnet-samples:aspnetapp
```

After the application starts, navigate to `http://localhost:8000` in your web browser. You need to navigate to the application via IP address instead of `localhost` for earlier Windows versions, which is demonstrated in [View the ASP.NET app in a running container on Windows](https://github.com/microsoft/dotnet-framework-docker/blob/master/samples/aspnetapp/README.md#view-the-aspnet-app-in-a-running-container-on-windows).

## Building .NET Framework Apps with Docker

* [.NET Framework Console Docker Sample](dotnetapp/README.md) - This [sample](dotnetapp/Dockerfile) builds, tests, and runs the sample. It includes and builds multiple projects.
Expand Down Expand Up @@ -55,4 +67,4 @@ Docs and More Information:
* [microsoft/aspnet](https://hub.docker.com/r/microsoft/aspnet/) for ASP.NET Web Forms and MVC images.
* [microsoft/dotnet-framework](https://hub.docker.com/r/microsoft/dotnet-framework/) for .NET Framework images.
* [microsoft/dotnet-framework-samples](https://hub.docker.com/r/microsoft/dotnet-framework-samples/) for .NET Framework and ASP.NET sample images.
* [microsoft/wcf](https://hub.docker.com/r/microsoft/wcf) for WCF images.
* [microsoft/wcf](https://hub.docker.com/r/microsoft/wcf) for WCF images.

0 comments on commit 4f083d1

Please sign in to comment.