Problem with connecting to Docker Engine in newer versions of App Publisher.

0
Hello!   I have a problem with connecting to docker engine in newer versions of app publisher (latest 1.19.7). Docker engine is running on localhost (on WSL), REST API (v 1.43) is enabled. I am also using version v1.11.5 of App Publisher, where everything works fine.    Problem was not related to Industrial Edge ecosystem updates (tested on updates from 12/23 and also newest from 12/24). The outcome is still the same - v1.19.7 does not work, v1.11.5 works.   Has anyone experienced this problem? And do you know any solution how to fix it? I would prefer using newer versions of software.   Thank you for your answers.
asked
4 answers
0

Hi Adam!

 

No problem, I think I found your issue.

 

If you are using Docker on Windows, please open the Docker desktop, click on settings and find: Expose daemon on tcp://localhost:2375 without TLS

 

Then, click on Apply & restart.

 

(See on the screenshot attached)

 

After that, you can connect it using 127.0.0.1 ip or 0.0.0.0.

 

Please, tell me if that workaround solve your issue.

 

Thanks a lot for your time!

Screenshot 2025-01-08 145923.png

answered
3

I finally managed to fix the problem. 

 

Ivan, you were almost right. The problem is that newer versions of IEAP don´t support docker on ipv6 (maybe bug). So i added fixed ipv4 address (tcp://127.0.0.1:2376) to deamon.json file in wsl -> /etc/docker/. The default ip address after installing docker in wsl is only ipv6.

answered
1

Hello Adam,

 

Could you please give more information about how the issue looks like? Is there a specific error message when you try to connect to the docker engine? 

Since you mentioned docker is running on WSL I guess you are using the Windows version of IE App Publisher, is there the chance that you test the same version of IEAP but for Linux? 

 

Thanks :)

answered
1

The only error i get is this:

apppub.PNG

 

I also tried many variants of localhost - ::, ::1, [::], 127.0.0.1, 0.0.0.0, but none of them worked. Here is my detailed docker information:

Výstřižek.PNG

 

You were also right about the version of IEAP - it is version for windows. I did not try linux version, I can definitely try it, but my colleges don´t work with linux, we all are using only windows system for app development. That´s why I am trying to fix the problems with IEAP windows version. 

 

Just out of curiosity, do you think that IEAP for linux could be installed into WSL with docker? Is it better solution overall?

 

Thanks :)

answered