Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(28)

Side by Side Diff: hello/README.md

Issue 367903008: Create a set of Dart dockerfiles (Closed) Base URL: https://github.com/dart-lang/dart_docker.git@master
Patch Set: Update Dart version and dart-hello readme Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « hello/Dockerfile ('k') | hello/bin/server.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 # google/dart-hello
2
3 [`google/dart-hello`](https://index.docker.io/u/google/dart-hello) is a
4 [docker](https://docker.io) image for a simple Dart HTTP server.
5
6 It is based on
7 [`google/dart-runtime`](https://index.docker.io/u/google/dart-runtime)
8 base image and listen on port `8080`.
9
10 ## Run the Dart HTTP server in the docker container
11
12 Run the following command to start the server application:
13
14 docker run -d -p 8080:8080 google/dart-hello
15
16 ## Access the server
17
18 If you are using boot2docker you need to access the server on the
19 doot2docker host network. The command `boot2docker ip` will give the
20 hosts address on that network.
21
22 curl http://`boot2docker ip 2> /dev/null`:8080/version
23
24 If you are running the docker daemon directly on a Linux host you can
25 access the server on `localhost`
26
27 curl http://localhost:8080/version
OLDNEW
« no previous file with comments | « hello/Dockerfile ('k') | hello/bin/server.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698