Sign inSign up

pacificlife/next-api-mock

By pacificlife

Updated almost 8 years ago

Next API Mock Server

Image
0

4.6K

pacificlife/next-api-mock repository overview

Next by Pacific Life - API Mock Server

This Docker image contains a mock server for the Next APIs.

Building the Docker Image

docker build -t next-api-mock . --no-cache

How to use this image

The following command will run the local image and start the mock server on port 4010

docker run -p 4010:4010 pacificlife/next-api-mock

Publish image

Run the "docker images" command and note the ID and the TAG of your Docker image e.g. 5e0e0eeab6bf.

docker tag 5f5ffc3a24ad pacificlife/next-api-mock:latest
docker login --username=pacificlife
docker push pacificlife/next-api-mock

Tag summary

Content type

Image

Digest

Size

39.6 MB

Last updated

about 8 years ago

docker pull pacificlife/next-api-mock