Restart Docker Container when host windows machine's restarts

I am trying to run docker containers when host machine i.e windows gets restarted

Hi

Check this out:

Just be aware that there may be cases where Docker Desktop starts the containers an instant too early, for example before the volumes are available. An alternative could be to write a script and start it from Windows Task Scheduler.