A lightweight sandbox environment for API POC's
218
A lightweight sandbox environment for API POC's
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!
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:
30003000This 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.
See License for the full license text.
This image was authored by Isaac Yep.
Content type
Image
Digest
sha256:053f75998…
Size
65 MB
Last updated
almost 4 years ago
docker pull sleepyboy/express-alpine