You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: GettingStartedDeb.md
+50-6Lines changed: 50 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,54 @@
1
+
2
+
# Getting started with ASP.NET 5 and Docker
3
+
4
+
It is possible to run the sample apps using [Docker](https://www.docker.com/) and the [ASP.NET 5 Preview Docker Image](https://registry.hub.docker.com/u/microsoft/aspnet/).
The URL to the sample app depends on how you are running Docker.
24
+
25
+
If you are using [boot2docker](https://github.com/boot2docker/boot2docker):
26
+
27
+
```
28
+
open http://$(boot2docker ip):5004
29
+
```
30
+
31
+
Otherwise, you can access the sample app directly on localhost:
32
+
33
+
```
34
+
open http://localhost:5004
35
+
```
36
+
37
+
### Stop the container
38
+
You can stop the docker container by pressing <kbd>Enter</kbd> in the console, or by using ```docker ps``` to identify the container id followed by ```docker stop <container id>```.
39
+
40
+
41
+
### Learn more
42
+
Detailed instructions on how to use the [ASP.NET 5 Preview Docker Image](https://registry.hub.docker.com/u/microsoft/aspnet/) can be found on http://blogs.msdn.com/b/webdev/archive/2015/01/14/running-asp-net-5-applications-in-linux-containers-with-docker.aspx. Please note that the ```kpm``` and ```k``` tools have been renamed since that article was published.
43
+
44
+
45
+
46
+
# Getting started with ASP.NET 5 and Linux
47
+
1
48
> Tested on: Ubuntu 14.04, Mint 17.01
2
49
50
+
This section deals with setting up a machine to run applications without the Docker image.
51
+
3
52
As with all other operating systems you need DNVM to get going with ASP.NET 5. To get it you run `curl` to download a `.sh` file and then run it. To configure a Linux machine to run an ASP.NET 5 application use the following instructions.
4
53
5
54
The steps to set up a Linux machine are:
@@ -9,11 +58,6 @@ The steps to set up a Linux machine are:
9
58
* Get DNVM
10
59
* Add sources to NuGet.config (For package restore)
11
60
12
-
### Docker
13
-
14
-
Instructions on how to use the ASP.NET [Docker](https://www.docker.com/) image here: http://blogs.msdn.com/b/webdev/archive/2015/01/14/running-asp-net-5-applications-in-linux-containers-with-docker.aspx
15
-
16
-
The rest of this section deals with setting up a machine to run applications without the Docker image.
Once this step is complete you should be able to run `dnvm` and see some help text.
60
104
61
-
# Add Sources to NuGet.config
105
+
###Add Sources to NuGet.config
62
106
63
107
Now that we have DNVM and the other tools needed to run an ASP.NET application we need to add the development configuration sources to get nightly builds of all the ASP.NET packages.
0 commit comments