Sign inSign up

wancodes/local-test

By wancodes

•Updated almost 6 years ago

Image
0

1M+

wancodes/local-test repository overview

This container spins up, makes some curl requests to the port specified in an environment variable called CUSTOM_PORT, then spins down. Use for testing purposes only.

Example: CUSTOM_PORT=9000

Environment variables in 0.2-alpha (Again, this is for testing purposes only.):

TOTAL is for total attempts, APP_DELAY is how long the container should sleep, in seconds, before curling the port.

CUSTOM_PORT=9090 TOTAL=1000 APP_DELAY=10

Tag summary

Content type

Image

Digest

Size

54.9 MB

Last updated

almost 6 years ago

docker pull wancodes/local-test:0.2-alpha