Sign inSign up

sanjaysaini2000/python-django-todo

By sanjaysaini2000

Updated about 6 years ago

Image of todo app developed using django v2.1.4 and python v3.7.0.

Image
0

435

sanjaysaini2000/python-django-todo repository overview

About this Image:

This is an image of todo app developed using developed using django v2.1.4 and python v3.7.0. This image is using python3.7-apline image for building and running this app in the container.

Prerequisite:

Docker is setup on your machine.

Steps to use this image:

1- Start the container with this image by running following command in the terminal window.

docker run -d -it  -p 8000:8000 --name django-app sanjaysaini2000/python-django-todo:latest

2- Check the running containers

docker ps

3- Check the docker host IP

docker-machine ls

And note the URL of the docker host i.e. tcp://192.168.99.100:2376

4- Now open the browser and type in the address bar http://host url:8000

i.e. http://192.168.99.100:8000

You have successfully host django Todo app in a docker container.

5- To kill the container run following command

  docker kill django-app
Built with:
  • Docker Toolbox on Windows
  • Docker version 19.03.1

Tag summary

Content type

Image

Digest

Size

40 MB

Last updated

about 6 years ago

docker pull sanjaysaini2000/python-django-todo