How I could restart the web server in docker

There is not, no. Why do you need to restart the web server? What’s the issue you’re trying to solve?