see: https://docs.docker.com/engine/install/
docker pull deepmodeling/dpti
note: maintained on https://hub.docker.com/r/deepmodeling/dpti
note: 9999:8000 means map 8080 port in the docker container to the 9999 port on the host machine
docker run --name dpti -p 9999:8080 -it deepmodeling/dpti:latest /bin/bash
docker exec -it dpti /bin/bash
airflow home dir: /root/airflow latest source code dir: /root/dpti
cd /root/dpti && pip install .
airflow webserver --hostname 0.0.0.0 --port 8080 &
airflow scheduler &
docker build . --tag deepmodeling/dpti:latest