A docker bootstrap for a python flask project.
- Download and install Docker Toolbox
- Run
Docker Quickstart Terminal
to setup a default docker machine (this may take a while) - Open powershell
- execute
docker-machine ls
to see the status and ip of the default machine - execute
docker-machine env default --shell=powershell | Invoke-Expression
- execute
./scripts/build.bat
to build the docker image nameddocker-flask
- execute
./run.bat
to run the docker - open
http://<machine_ip>:5000
to view the website. (default ip is192.168.99.100
, usedocker-machine ls
to check)