Sign inSign up

bengidocking/python-flask-host2

By bengidocking

•Updated about 4 years ago

A simple dockerized python api

Image
0

59

bengidocking/python-flask-host2 repository overview

Prerequisites

Download docker desktop

Ensure you are signed into docker desktop

To run application

In your terminal:

First pull the docker image from docker hub: docker pull bengidocking/python-flask-host2:api1

Type the following command in your terminal:

docker run -d -p 5050:5050 bengidocking/python-flask-host2:api1

navigate to the following URL: localhost:5050/hello

alternatively use the command in your terminal: curl localhost:5050/hello

Tag summary

Content type

Image

Digest

sha256:49b467e97…

Size

22.6 MB

Last updated

about 4 years ago

docker pull bengidocking/python-flask-host2:api1