随笔分类 -  docker

摘要:see https://www.cnblogs.com/kai-/p/13457800.html key point: RUN pip install -i https://pypi.tuna.tsinghua.edu.cn/simple --no-cache-dir -r requirements 阅读全文
posted @ 2021-02-20 14:51 LeoGIS 阅读(577) 评论(0) 推荐(0)
摘要:今天用docker跑一个FastAPI程序,测试期间这个程序需要访问我本机的MySQL,但是发现访问不到,docker容器内的ip是172.17.0.1,MySQL的地址不论写localhost还是127.0.0.1或者172.17.0.1都访问不到。 其实docker容器运行的时候有host、br 阅读全文
posted @ 2021-02-05 20:42 LeoGIS 阅读(623) 评论(0) 推荐(0)
摘要:from 《docker run之后状态总是Exited》 https://blog.csdn.net/github_39319000/article/details/80866508?utm_medium=distribute.pc_relevant.none-task-blog-BlogComm 阅读全文
posted @ 2021-02-02 19:20 LeoGIS 阅读(308) 评论(0) 推荐(0)