Super simple pi-compute service. Can be handy if you wanna test intense on cpu services
TODO
The number of ( Hex ) digits are taken from the path. For example, to get the 10 first ( hex ) pi digits use:
$ docker run -d -p 8080:80 wincus/compute-pi
$ <container-id-response>
$ curl -i http://127.0.0.1:8080/10
HTTP/1.1 200 OK
Content-Type: application/json
Date: Thu, 11 Apr 2019 17:03:26 GMT
Content-Length: 29
{"Result":"AgQDDwYKCAgIBQ=="}%
Content type
Image
Digest
Size
6.3 MB
Last updated
over 7 years ago
docker pull wincus/compute-pi