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

Unified 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « hello/Dockerfile ('k') | hello/bin/server.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: hello/README.md
diff --git a/hello/README.md b/hello/README.md
new file mode 100644
index 0000000000000000000000000000000000000000..bc2d8d92911fd681cc25335f98d75ad85c88e2a6
--- /dev/null
+++ b/hello/README.md
@@ -0,0 +1,27 @@
+# google/dart-hello
+
+[`google/dart-hello`](https://index.docker.io/u/google/dart-hello) is a
+[docker](https://docker.io) image for a simple Dart HTTP server.
+
+It is based on
+[`google/dart-runtime`](https://index.docker.io/u/google/dart-runtime)
+base image and listen on port `8080`.
+
+## Run the Dart HTTP server in the docker container
+
+Run the following command to start the server application:
+
+ docker run -d -p 8080:8080 google/dart-hello
+
+## Access the server
+
+If you are using boot2docker you need to access the server on the
+doot2docker host network. The command `boot2docker ip` will give the
+hosts address on that network.
+
+ curl http://`boot2docker ip 2> /dev/null`:8080/version
+
+If you are running the docker daemon directly on a Linux host you can
+access the server on `localhost`
+
+ curl http://localhost:8080/version
« 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