Sign inSign up

sleepyboy/express-alpine

By sleepyboy

Updated almost 4 years ago

A lightweight sandbox environment for API POC's

Image
0

218

sleepyboy/express-alpine repository overview

express-alpine

A lightweight sandbox environment for API POC's


Welcome to express-alpine!

Need to spin up a mock API for testing, or rough-draft some kind of endpoint listener?
This image is here to help without the fuss!


Table of Contents 📖
  • Get Started
  • Technologies
  • License/Stats/Author

Get Started 🚀

Fetch this image with:

docker pull docker pull sleepyboy/express-alpine:latest

And for your choosing of CONTAINER_NAME, HOST_PORT and CONTAINER_PORT, run with:

docker run --name $CONTAINER_NAME -p $HOST_PORT:$CONTAINER_PORT -d -t sleepyboy/express-alpine:latest;

Connect with:

CONTAINER_ID=$(docker ps -aqf "name=$CONTAINER_NAME"); wait; docker exec -it $CONTAINER_ID /bin/bash

Port Mapping:

  • Host Port = 3000
  • Container Port = 3000

This image comes with an opinionated enhancement of vim for editing via ssh, for those un-motivated to use the VSCode Docker extension. There are also some convenience alias's added to /root/.bashrc.


Technologies 🧰


License, Stats, Author 📜

example image tag

Docker Image Size (latest by date)

See License for the full license text.

This image was authored by Isaac Yep.

Tag summary

Content type

Image

Digest

sha256:053f75998

Size

65 MB

Last updated

almost 4 years ago

docker pull sleepyboy/express-alpine