- You can run the container as a different user than the one defined in the image.
- You can pass a
x-set-response-delay-ms
to set a custom delay in milliseconds.
- You can pass a
x-set-response-status-code
header to set the response status code
- Dockerfile optimisation, slightly smaller image size
- This changelog added to the repo
- The image now runs as a non-root user by default.
- Optionally allow running as a non root user.
docker run --user node -e HTTP_PORT=8080 -e HTTPS_PORT=8443 -p 8080:8080 -p 8443:8443 --rm mendhak/http-https-echo:issue-14-non-root
#or
docker run --user node --sysctl net.ipv4.ip_unprivileged_port_start=0 -p 8080:80 -p 8443:443 --rm mendhak/http-https-echo:issue-14-non-root
Note: The latest
tag is no longer being built, I've removed it from the automated builds. Please don't use the latest
tag any longer.
- JWT header
- Choose your own ports
- Choose your own certs
- Ignore a specific path
- JSON payloads
- Single line log output