-
-
Notifications
You must be signed in to change notification settings - Fork 15
Open
Description
After step one, the following occurs:
docker run --rm -v "$PWD":/app -w /app iron/node:dev npm install
Unable to find image 'iron/node:dev' locally
dev: Pulling from iron/node
6d6a6a7dae29: Pull complete
33e6be7c8ffa: Pull complete
6ea61a4052a4: Pull complete
c3592df69b3c: Pull complete
Digest: sha256:d41c53700fe4d3c497c4f732db75eea2a22348343115ffab2fd0a052274fb7db
Status: Downloaded newer image for iron/node:dev
docker_web_app@1.0.0 /app
`-- express@4.14.0
+-- accepts@1.3.3
| +-- mime-types@2.1.12
| | `-- mime-db@1.24.0
| `-- negotiator@0.6.1
+-- array-flatten@1.1.1
+-- content-disposition@0.5.1
+-- content-type@1.0.2
+-- cookie@0.3.1
+-- cookie-signature@1.0.6
+-- debug@2.2.0
| `-- ms@0.7.1
+-- depd@1.1.0
+-- encodeurl@1.0.1
+-- escape-html@1.0.3
+-- etag@1.7.0
+-- finalhandler@0.5.0
| +-- statuses@1.3.0
| `-- unpipe@1.0.0
+-- fresh@0.3.0
+-- merge-descriptors@1.0.1
+-- methods@1.1.2
+-- on-finished@2.3.0
| `-- ee-first@1.1.1
+-- parseurl@1.3.1
+-- path-to-regexp@0.1.7
+-- proxy-addr@1.1.2
| +-- forwarded@0.1.0
| `-- ipaddr.js@1.1.1
+-- qs@6.2.0
+-- range-parser@1.2.0
+-- send@0.14.1
| +-- destroy@1.0.4
| +-- http-errors@1.5.0
| | +-- inherits@2.0.1
| | `-- setprototypeof@1.0.1
| `-- mime@1.3.4
+-- serve-static@1.11.1
+-- type-is@1.6.13
| `-- media-typer@0.3.0
+-- utils-merge@1.0.0
`-- vary@1.1.0
npm WARN docker_web_app@1.0.0 No repository field.
npm WARN docker_web_app@1.0.0 No license field.
Then, step two:
docker run --rm -it -p 8080:8080 -v "$PWD":/app -w /app iron/node node server.js
Unable to find image 'iron/node:latest' locally
latest: Pulling from iron/node
6d6a6a7dae29: Already exists
33e6be7c8ffa: Already exists
6ea61a4052a4: Already exists
7dabe43fd6d7: Pull complete
Digest: sha256:937ef16121083e6e0ced456f870b815bd32166d596b7aa7a8293f34b401a24ac
Status: Downloaded newer image for iron/node:latest
Running on http://localhost:8080
The application seems to be running. However, localhost:8080 displays an error, stating that there's no server running on this address. Telnet to that address yields "connection refused."
Is there something I might have done wrong, or some configuration that's incorrect?
docker ps
shows the following:
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
f860784b9248 iron/node "node server.js" 5 minutes ago Up 5 minutes 0.0.0.0:8080->8080/tcp agitated_keller
Metadata
Metadata
Assignees
Labels
No labels