Public | Automated Build

Last pushed: a year ago
Short Description
This image is used to simulate our back end service for the application.
Full Description

docker-json-server

JSON Server provides REST API mocking based on plain JSON.
This is a docker image that eases setup.

Usage

This docker image is available as a trusted build on the docker index,
so there's no setup required.
Using this image for the first time will start a download automatically.
Further runs will be immediate, as the image will be cached locally.

The recommended way to run this container looks like this:

$ docker run -d -p 5000:5000 jwvolschenk/json-server

The above example exposes the JSON Server REST API on port 5000, so that you can now browse to:

http://localhost:5000/

This is a rather common setup following docker's conventions:

  • -d will run a detached instance in the background
  • -p {OutsidePort}:5000 will bind the webserver to the given outside port
Docker Pull Command
Owner
jwvolschenk
Source Repository

Comments (0)