Public Repository

Last pushed: a year ago
Short Description
Web service for Fibonacci number
Full Description
  1. From your Linux host, enter "docker run -p 8080:8080 kkphk/fibonacci"
  2. Open a web browser
    localhost:8080/x, where x is the Fibonacci number count
  3. From a client terminal
    curl -X GET http://localhost:8080/x
    curl -vvv -X GET http://localhost:8080/x
  4. Code and document at https://github.com/kp-hk/FibonacciWS
  5. To monitor containers with cadvisor
    • sudo docker run --volume=/:/rootfs:ro --volume=/var/run:/var/run:rw --volume=/sys:/sys:ro --volume=/var/lib/docker/:/var/lib/docker:ro --publish=8081:8080 --detach=true --name=cadvisor google/cadvisor:latest
    • open a web browser : localhost:8081
Docker Pull Command
Owner
kkphk

Comments (0)