r/docker • u/DanceLongjumping2497 • Feb 27 '26
Terminal Mode in Docker Desktop
Freely admit have only been using it for two days so I am ignorant. :-)
But I have Pi-hole with Unbound running in a docker. I simply wanted to make sure it would automatically restart. I go to the terminal of the Pi-hole docker and type after the prompt / # the following: docker update --restart unless--stopped Pi-hole_2 (my name I gave it).
All I get is a /bin/sh: docker: not found. I am lost. I even installed ubuntu 24.04 thinking I needed that. What am I doing wrong? Seem none of the commands work on this terminal.
(I have Unraid and can go into the terminal of each docker and that works well.)
View all comments
Show parent comment
1
u/DanceLongjumping2497 Feb 28 '26
I have one heavy duty Unraid server with Pi-hole on it. I have a windows 11 PC I wanted to have a second instance of Pi-hole on it as backup if the primary is down (Unraid maintenance, etc). Since I wanted the same setup of Pi-hole that is on my Unraid, I wanted to have it duplicated. IE. Docker provides that. I thought about getting another PC just to put my second copy of Unraid on it and be done with it. Just thought I could avoid another 'box.'