A simple app that displays CPU and Memory usage.
Run docker build -t [choose_repository_name] .
Example: docker build -t my-flask-app .
Use the command docker images
so see a list of docker images. Then, use the Image ID of the created image.
Run docker run -p [host_port]:[container_port] [docker_image_id]
If the Image ID is 20301e3928ls
:
Run docker run -p 5000:5000 20301e3928ls