Skip to content

First release

Latest
Compare
Choose a tag to compare
@stiliajohny stiliajohny released this 25 Apr 12:13
· 4 commits to master since this release

Built With

  • Python
  • Speedtest

Getting Started

Prerequisites

  • Python

Installation

$ pip3 install -r requiments.txt


Usage

Run it with Python

  • Run the script with Python3
    • $ python3 ./network_latency.py
  • Get results
    • $ curl localhost:8000

Build the Docker Image

  • Build the image
    • $ docker build -t CONTAINER_NAME:vX.Y ./Dockerfile
  • To run the container
    • $ docker run -p 8000:8000/tcp ./CONTAINERNAME:vX.Y

Pull it from GitHub Container Registry

  • Pull image from the command line:

    • $ docker pull docker.pkg.github.com/stiliajohny/python-prometheus-speedtest/python-prometheus-speedtest:0.0.1aplha
  • Use as the base image in DockerFile:

    • FROM docker.pkg.github.com/stiliajohny/python-prometheus-speedtest/python-prometheus-speedtest:0.0.1aplha

Contact

John Stilia - stilia.johny@gmail.com