Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

docker command not available in ubuntu wsl

# before doing this, try wsl --terminate <UBUNTU> or the problem WSL instance, 
# uncheck/recheck the WSL integration box for <UBUNTU> then click Restart on the dialog box that pops up to restart the Integration.
# if that fails, do below:
# kill all docker desktop processes.
wsl -t docker-desktop
wsl --shutdown  # may need to kill all running WSL instances too
wsl --unregister docker-desktop
Stop-Service -Name "com.docker.service"
# then restart docker desktop
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #docker #command #ubuntu #wsl
ADD COMMENT
Topic
Name
9+1 =