docker容器访问上层宿主主机的方式

ip可以用host.docker.internal来代替,这时的localhost其实是容器本身,不能使用
posted @ 2023-11-01 09:18  netcorner  阅读(30)  评论(0编辑  收藏  举报