Bootstrap

docker-compose和docker增加hosts

在docker-compose.yml文件中里添加下面内容:

    extra_hosts:
      - "www.163.com:172.17.3.1"

docker下增加hosts

   --add-host=www.163.com:172.17.3.1
   --add-host=qyapi.weixin.qq.com:183.47.100.66 
;