docker踩坑
docker挂载时,参数顺序应该是:docker -it -v xxx:xxx image_name command
dockerpy里面 pull的时候,不指定pull的tag会全部pull下来!!!!!!!!!!!!!!!!!
dockerfile 里面复制文件夹,不能COPY xx/*,应该直接COPY xx
selenium
来源:
https://blog.csdn.net/qhd1994/article/details/79852449
https://morvanzhou.github.io/tutorials/data-manipulation/scraping/5-01-selenium/
安装
pip3 install selenium
- goto https://github.com/mozilla/geckodriver/releases to download selenium for Firefox.
- 解压,加可执行权限,复制到
/usr/local/bin