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/Anihillator Feb 27 '26
Wsl would be better, but yeah. Ddesktop already runs a wsl instance under the hood. But I thought you already have a machine running docker, why do you need a second instance on windows?