Public | Automated Build

Last pushed: 2 years ago
Short Description
DEPRECATED!! Please use jihchi/node-echo-server-alpine instead.
Full Description

alpine-iojs-echo-server

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

Getting Started

$ docker pull jihchi/alpine-iojs-echo-server
$ docker run -d -p 12345:80 jihchi/alpine-iojs-echo-server

Usage

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
  }
}
Docker Pull Command
Owner
jihchi
Source Repository

Comments (0)