| OLD | NEW |
| (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 |
| OLD | NEW |