Public | Automated Build

Last pushed: 2 years ago
Short Description
A minimal JSON Server image (less than 30 MB) - Get a full fake REST API with zero coding
Full Description

Dockerized JSON Server

Summary

Repository name in Docker Hub: williamyeh/json-server

This repository contains Dockerized JSON Server, published to the public Docker Hub via automated build mechanism.

Configuration

This docker image contains the following software stack:

  • Alpine 3

  • Node.js

  • JSON Server

Total image size is less than 30 MB.

Dependencies

History

  • 1.0 - Initial release.

Installation

$ docker pull williamyeh/json-server

Usage

Show usage

$ docker run --rm williamyeh/json-server

Server example

$ docker run  \
      -p 3000:3000  -v `pwd`:/data  \
      williamyeh/json-server        \
      --watch db.json

More examples

Most examples documented in JSON Server project site will work.

Docker Pull Command
Owner
williamyeh
Source Repository