This example demonstrate a sensor data emitting real-time temperature. User can provide a config to chose a scale (Fahrenheit, Celsius, Kelvin)
please follow instruction @ https://docs.docker.com/get-docker/
To build docker container use follownig commands:
cd sensor
sudo docker build . -t sensor `
#To run the container:
sudo docker run -p 80:80 sensor:latest
Open a browser and type http://127.0.0.1:80
- Install Python (3.8.5) from https://www.python.org/downloads/
- Install Flask using steps listed here. See section for Windows.
https://www.krizna.com/windows-7/install-ubuntu-windows-7-virtualbox/