0

Can you access docker API from Traefik inside an azure multi-container app? I am getting path mapping errors when I attempt this.

Charles Xu
  • 29,862
  • 2
  • 22
  • 39
Lee
  • 63
  • 1
  • 7
  • What Docker API do you mean? In the Web App Service Plan or others? – Charles Xu Nov 25 '18 at 02:56
  • 1
    I should combine this and my other question... They are kind of merging in the problem. I want to use Traefik to route to all my microservices in a multicontainer web app on azure. That is the end game but in my other question I'm having issues accessing the ports via a static Traefik config and here it would be nice to access the other container info via the docker.sock path in the web app service. – Lee Nov 25 '18 at 03:16
  • Do you mean you want to create an infrastructure with Trafik and other microservices work in the Azure Web App like in docker compose? And now they cannot connect through the Trafik with the port? – Charles Xu Nov 25 '18 at 03:23
  • Correct. Connection refused on port 3000 etc – Lee Nov 25 '18 at 03:34
  • With the document [multi-container app](https://learn.microsoft.com/en-us/azure/app-service/containers/tutorial-multi-container-app), there just show that the services connect each other with the setting in the compose file and the app setting. So you can try to use [app settings](https://learn.microsoft.com/en-us/azure/app-service/web-sites-configure#app-settings). I think it woould be helpful. – Charles Xu Nov 25 '18 at 16:05

0 Answers0