EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  <2025 Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  <2025
<== Date ==> <== Thread ==>

Subject: Re: Phoebus is unable to see PVs inside docker containers
From: Jörn Dreyer via Tech-talk <tech-talk at aps.anl.gov>
To: "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov>
Date: Fri, 04 Apr 2025 05:55:47 +0200
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>
> 
> 
> 




Replies:
Re: Phoebus is unable to see PVs inside docker containers Knap, Giles (DLSLtd,RAL,LSCI) via Tech-talk
References:
Phoebus is unable to see PVs inside docker containers Srinivas, Dhruv via Tech-talk

Navigate by Date:
Prev: Re: RFC: add a mechanism to call epicsExit when signals are received Michael Davidsaver via Tech-talk
Next: Re: Phoebus is unable to see PVs inside docker containers Knap, Giles (DLSLtd,RAL,LSCI) via Tech-talk
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  <2025
Navigate by Thread:
Prev: Phoebus is unable to see PVs inside docker containers Srinivas, Dhruv via Tech-talk
Next: Re: Phoebus is unable to see PVs inside docker containers Knap, Giles (DLSLtd,RAL,LSCI) via Tech-talk
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  <2025
ANJ, 04 Apr 2025 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions ·
· Download · Search · IRMIS · Talk · Documents · Links · Licensing ·