mendhak / docker-http-https-echo

Docker image that echoes request data as JSON; listens on HTTP/S, useful for debugging.
https://code.mendhak.com/docker-http-https-echo/
MIT License
621 stars 136 forks source link

Random user support #26

Closed mabrarov closed 3 years ago

mabrarov commented 3 years ago

Testing:

container_id="$(docker run -d -u 100500 mendhak/http-https-echo)" \
&& sleep 5s \
&& docker container inspect "${container_id}" -f '{{ .State.Status }}' \
&& docker rm -fv "${container_id}" >/dev/null

Expected output (correct output when the image is built from the source branch of this PR):

running

Output when using original image built from master branch:

exited
mendhak commented 3 years ago

Ah so sorry I was delayed! OK all good now. Thanks for fixing the permissions also you added a test yay!

It's merged. It's in tag :19.