Closed johnsudaar closed 6 years ago
There's the -port
command line flag that's supposed to achieve that.
Or maybe I dont get it?
ok got it: some port OF the agent. Nevermind my previous comment.
Yep!
Launching the container with -P
, so we can define some exposed port in our Dockerfile
:
https://docs.docker.com/engine/reference/builder/#expose
That's ^ a good solution. On the trainer we allow these kind of Dockerfile instruction but online they will be forbidden.
We're going to consider doing something like that, thanks.
Instead of the agent exposing a port/server, it can connect to whatever service you created.
Note that it will only be available in the trainer. @johnsudaar can we close this?
Agent calling the host rather than the opposite: LGTM.
Especialy since many agents could connect to the same service.
ping @johnsudaar
It would be nice if the BA trainer can export some port of the agent (if you have an http server used for debugging) or if you want to make a remote controlled agent to train your "real agent"