Image of todo app developed using django v2.1.4 and python v3.7.0.
435
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.
Docker is setup on your machine.
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
Content type
Image
Digest
Size
40 MB
Last updated
about 6 years ago
docker pull sanjaysaini2000/python-django-todo