How can I connect my docker engine with the IE App Publisher?

0
A question in respect to App Publisher: how to connect the docker engine with App Publisher?
asked
1 answers
0

In order to get the docker images of your application, the IE App Publisher needs to access the docker engine via the Engine API. By default, the Engine API listens only at a UNIX socket, so we have to bind it to a TCP socket at the host.

Follow these steps to enable external connections to your docker engine:

  • Use the command sudo systemctl edit docker.service to open an override file for docker.service in a text editor.
sudo systemctl edit docker.service
  • Add or modify the following lines, substituting your own values.
[Service]
ExecStart=
ExecStart=/usr/bin/dockerd -H fd:// -H tcp://127.0.0.1:2375

 

  • Save the file.
  • Reload the systemctl configuration.
sudo systemctl daemon-reload

 

  • Restart Docker
sudo systemctl restart docker.service

 

  • Check if the new configuration was applied:
sudo docker info

 

The output should state that the API is accessible on your IP and Port.

 

answered