1

I have web application developed using the PHP and Laravel and trying to host in the Azure Web App for Containers service. I have integrated stackify logging functionality for the application and the server.

I need to send additional parameters to the docker run command in the azure web app for containers, need to pass the pid and v in the docker run command.

docker run -it --pid=host -v /usr/local/stackify:/usr/local/stackify

I did not find a way to configure. Please suggest a solution to resolve this. Is there any way configure the docker run commaned in the Azure web app for container service.

enter image description here

Saravana Kumar
  • 3,669
  • 5
  • 15
  • 35
  • Where do you expect to get the volume from? With a command like this, it had to be on the machine your container is scheduled on. – The Fool Sep 07 '21 at 11:26
  • I have followed this documentation https://docs.stackify.com/docs/php-apm-with-docker and it is working fine in the local environment while running the container with pid and host. Not sure how to add the params in azure web app for containers. – Saravana Kumar Sep 07 '21 at 11:33

0 Answers0