I'm trying to deploy a custom image to an azure function and I have a requirement of modifying /etc/hosts
file inside the container.
I've tried giving --add-host
argument at the docker build stage but it doesn't help. And as it is an azure function, It'll run the docker run command by itself without manual intervention.
So, just wanted to know if there's a possibility of adding --add-host
argument to docker run command through Azure function's configuration.