Hello Dhruv,
how is your org.phoebus.pv.ca/addr_list formated? It should be a list of IP's seperated by spaces. The observation you have
points to a problem here as it looks like your phoebus sees probably only the first host on that list.
You can check the settings that phoebus sees if you go "Help -> Abaut -> Show Details -> Preference Settings"
You could try to set EPICS_CAS_INTF_ADDR_LIST to be the address of the docker network interface before starting phoebus.
You need to kill caRepeater on the host before starting Poebus. Otherwise the change will not have any effect.
If that does not help, probably the easisest way to go is to implement a gateway on the Docker host.
Hope this helps,
Jörn
Am Donnerstag, 3. April 2025, 19:51:20 Mitteleuropäische Sommerzeit schrieb Srinivas, Dhruv via Tech-talk:
> Hello,
>
> I'm installing several IOCs on a new machine. If I run it locally on the machine itself, then Phoebus is able to see the PVs in said IOCs. However, when I place the IOCs into a docker image then run it using the following command, Phoebus can only see one
IOC at a time:
>
> "docker run -dit --network=host --name=<name> <image_name>"
>
> So far I've attempted to set auto_addr_list, addr_list, and name_servers in the Phoebus settings.ini file. So far I've been able to confirm that my setting changes did take effect, but the problem persists.
> Does anyone happen to know how to resolve this issue?
>
> Sincerely,
>
> Dhruv Srinivas
> srinivas1 at llnl.gov<
mailto:srinivas1 at llnl.gov>
>
>
>