In this case, I run a geth node in local env, and A app in docker, How can I connect to geth from docker?
Default rpc address for geth is set to localhost. You can see which ip and port is used on linux with a tool like
netstat, default should be 127.0.0.1 .
You can specify the server listening interface with this command