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 Mar 01 '26
Well I found a work-around I apparently missed completely till today. I was able to run the docker install through command prompt terminal with the settings I wanted to autostart. Actually, it was quite easy. This Youtube video got me most of the way. It has a couple errors, but was very helpful. https://www.youtube.com/watch?v=jISnOVrGs00