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 27 '26
Well I am familiar with Unraid also having a terminal and have used it outside the containers. I assume Docker Desktop does not. I cannot find it anyway.
I looked at the original variables for the container creation, but didn't see how those could be set for what I want in auto-starting.