seems like the network inside the running code cannot access the localhost (even though you have --network=host
. Could you test it with the machine's IP?
(Actually the best practice is to add a name to the machine (in your hosts file), so that if later you move the server, all the links will be valid)
with what I shared above, I now get:docker: Error response from daemon: network 'host' not found.
I am now trying with agent.extra_docker_arguments: ["--network='host'", ]
instead of what I shared above
AgitatedDove14 I finally solved it: The problem was --network='host'
should be --network=host