'How to restart IIS app pool within a docker container running in Service Fabric

I'm trying to figure out the best way to restart app pool for a docker container running in Service Fabric. The closest way I have found is to use Restart-ServiceFabricDeployedCodePackage which would restart the container. Is there a better way to achieve this?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source