williamyeh/json-server
A minimal JSON Server image (less than 30 MB) - Get a full fake REST API with zero coding
100K+
Repository name in Docker Hub: williamyeh/json-server
This repository contains Dockerized JSON Server, published to the public Docker Hub via automated build mechanism.
This docker image contains the following software stack:
Alpine 3
Node.js 10
JSON Server
Total image size is less than 30 MB.
$ docker pull williamyeh/json-server
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 williamyeh/json-server