Results 3 comments of xiao.wu

> In my Docker for Desktop Windows I performed: > > docker run -p 5432:5432 -d --name db arminc/clair-db:2017-09-18 > docker run -p 6060:6060 --link db:postgres -d --name clair arminc/clair-local-scan:v2.0.6...

> Hi, > > Following the Github URL - https://github.com/arminc/clair-scanner to scan the images in docker platform. > I observed two issues as below. > > 1. Not able to...

似乎是重定向的问题导致的,修改py12306/query/job.py中的`query_by_date(self,date)`,将`allow_redirects=False`改成`allow_redirects=True`,重新运行后没有报这个错误。如果使用docker的话,需要修改代码后重新`docker build`一个本地镜像