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: | PVA and Docker on Mac |
From: | Juan F. Esteban Müller via Tech-talk <tech-talk at aps.anl.gov> |
To: | "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov> |
Date: | Wed, 27 Jul 2022 09:25:01 +0000 |
Hello all, I am trying to run a PVA client on Docker, but when I run the image on macOS I can’t connect to any IOC, while from Linux it works fine. There are some differences in how the Docker network interface works on Linux and
macOS, but I couldn’t find a way to solve this issue. The issue is limited to PV Access, CA works fine. In case someone wants to reproduce the issue, I am attaching a db file and a Dockerfile and these are the steps:
On Linux you’ll get something like this: $ docker run pvatest ../iocinf.cpp: Parsing 'EPICS_CA_ADDR_LIST' Bad internet address or host name: 'host.docker.internal' counter
89 counter 2022-07-27 09:05:26.714
89 While on macOS this: % docker run pvatest counter
90 counter Timeout The first line from the output is the
caget command, the second one is
pvget. Best regards, Juan |
Attachment:
count.db
Description: count.db
Attachment:
Dockerfile
Description: Dockerfile