DEPRECATED!! Please use jihchi/node-echo-server-alpine instead.
1.7K
Dockerize jpillora/node-echo-server based on mhart/alpine-iojs:latest (with npm)
node-echo-server
An HTTP server which responds with the request in JSON.
alpine-iojs
Minimal io.js Docker Images built on Alpine Linux (20MB, or 7.5MB compressed).
$ docker images
REPOSITORY TAG IMAGE ID CREATED VIRTUAL SIZE
jihchi/alpine-iojs-echo-server latest 4197d07a4be7 38 minutes ago 38.8 MB
$ docker pull jihchi/alpine-iojs-echo-server
$ docker run -d -p 12345:80 jihchi/alpine-iojs-echo-server
Directly browse http://localhost:12345 or:
$ curl http://localhost:12345
{
"ip": "192.168.59.3",
"time": 1429261062748,
"method": "GET",
"url": "/",
"body": "",
"headers": {
"user-agent": "curl/7.37.1",
"host": "192.168.59.103:12345",
"accept": "*/*"
},
"meta": {
"num": 4,
"live": 1,
"status": 200,
"delay": 0
}
}
Content type
Image
Digest
sha256:2a4508d86…
Size
13.3 MB
Last updated
almost 11 years ago
docker pull jihchi/alpine-iojs-echo-server