golang+docker 进入镜像测试本地通信 首先进入docker镜像: docker-compose exec 镜像 sh //进入镜像 然后添加curl命令 apk add curl 最后在使用 curl -d localhost:8090+路由 测试本地镜像映射是否可用