Q: restart docker container 1 if container 2 fails I have 2 docker containers when 1 fails i want to reset the other.
I thought restart_policy might be the correct area to look.
restart_policy
But it seems a bit sparse on options. Nothing i see anywhere seems to the right kind of thing for reset dependant on each other.
Ideally i want to put the reset instructions in my docker-compose file.
any ideas?
ps) I'm doing this because if a container with code for a webscraper fails, then i need to reset the webdriver container it is using.
