Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 12 months ago.
The community reviewed whether to reopen this question 5 months ago and left it closed:
Original close reason(s) were not resolved
Improve this question
Installed docker desktop for windows, after having installed the linux kernel update package and changing to wsl 2 version (virtualization is enabled) but i get the message "Docker Desktop stopped..." as shown below.
Tried:
uninstalling and reinstalling again
run application as administrator
From https://github.com/docker/for-win/issues/12545#issuecomment-1037225140
Just go to the config file at C:\Users\<username>\AppData\Roaming\Docker\settings.json, and set "wslEngineEnabled": true
I had to restart after saving.
I had the same problem. If you are using docker 4.5.0, try uninstall and install 4.4.4 instead. That worked for me.
A new version of Docker Desktop (4.5.1), released on 2022-02-15 fixes this problem.
If you are running Docker Desktop on Windows Home, installing 4.5.1 will switch it back to WSL 2 automatically. If you are running another version of Windows, and you want Docker Desktop to use the WSL 2 backend, you must manually switch by enabling the Use the WSL 2 based engine option in the Settings > General section. Alternatively, you can edit the Docker Desktop settings file located at %APPDATA%\Docker\settings.json and manually switch the value of the wslEngineEnabled field to true.
I also get the same problem after updating my Docker version from 4.4.4 to 4.5. It was crashed when I want to run my container today. I try to reinstall with 4.5 version and get the error "Docker Desktop stopped...". Then, I try to reinstall with 4.4.4 version, and now it just run perfectly fine like before.
Also had this issue on Mac (Intel chip) after updating to v4.5.0.
Reinstalling and a system restart solved the issue.
Related
Closed. This question is not about programming or software development. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 2 days ago.
Improve this question
can't run docker run command and docker desktop is stopped...
i tried reinstalling and upgraded wsl 1 to 2
Post "http://%2F%2F.%2Fpipe%2Fdocker_engine/v1.24/containers/create": open //./pipe/docker_engine: The system cannot find the file specified. See 'docker run --help'.
The error suggests that docker is not running or properly installed, if you installed it, check the following.
From the search bar, type "Turn Windows features on or off" and make sure you enable the following:
Windows subsystem for Linux
virtual machine platform
windows hypervisor platform
You may also check the PATH of the docker if it is properly added in the environment variable.
From the search bar type "Edit the system environment variable" then click on "Environment variable" in the bottom right corner then under the System variable section choose "path" in the "variable" column then "edit"
A new window will open. Make sure that the following path is added
C:\Program Files\Docker\Docker\resources\bin
If you have done all these steps. You should make sure that the docker desktop app is running, then try to run docker commands.
If the problem still persists, you may uninstall the app and reinstall it again and it should work
Closed. This question is not about programming or software development. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 6 months ago.
Improve this question
I can't get Docker to start on my Mac (Intel). It's just stuck in Docker Desktop starting...
Here are the things I have tried:
Running with the desktop installer
Running with the brew installer (brew install --cask docker)
In the debug menu:
Clean /Purge data
Reset to factory defaults
Trying to run docker ps in terminal shows:
Error response from daemon: dial unix docker.raw.sock: connect: no such file or directory
If I quit docker, the com.docker.vmnetd process needs to be killed manually.
This problem started around version 4.5.0 Now I am on version 4.12.0., and still the same issue. If I downgrade to a version far back (with the previous UI), it works. But after a while, Docker forces itself to update, which puts me back in this same problem.
Does anyone have any clue what I can try?
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 1 year ago.
Improve this question
i have already enabled virtualization in my BIOS, and also enable it in Windows feature
furthermore, the android emulator with android studio working well, but when i try to run Docker for windows, i encounter this problem?
i don't know where the problem is?
You need to autostart the hypervisor at startup.
Open a Powershell as Admin.
Paste the line:
bcdedit /set hypervisorlaunchtype auto
Then the hypervisor will start at the next boot and it should work.
For future information see:
https://d3v.one/windows-10-changing-hyper-v-support-at-boot-time/
In my case this worked for me More concrete steps:
got to ‘Apps and Features.
Select Programs and Features on the right under related settings.
Select Turn Windows Features on or off.
Unselect Hyper-V and click OK. (So I disable it)
Restart computer
After restart I go to:
‘Apps and Features.
Select Programs and Features on the right under related settings.
Select Turn Windows Features on or off.
select Hyper-V and click OK. (So I enable it)
Computer restart
After restart, then docker worked correctly.
What worked for my team was to make sure Containers and Hyper-V was enabled, then making sure Docker Desktop was updated.
I tried both options described here without success:
Unchecked Hyper-V in Windows feature(reboot), checked again(reboot)
Run bcdedit /set hypervisorlaunchtype auto as Administrator in Powershell and reboot the PC
SOLUTION: What solved the issue for me was to update the Docker Desktop version (from 3.6 to 4.3)
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 5 years ago.
Improve this question
How does one install docker for Windows Server 2008?
I only see support for Windows Server 2016:
https://www.docker.com/docker-windows-server
Docker for Windows https://www.docker.com/docker-windows only works on Windows 10 Pro/2016.
For all other windows versions you must use Docker Toolbox
https://docs.docker.com/toolbox/toolbox_install_windows/. A subtle but important difference.
Docker Toolbox comes with the ominous warning:
Legacy desktop solution. Docker Toolbox is for older Mac and Windows systems that do not meet the requirements of Docker for Mac
and Docker for Windows. We recommend updating to the newer
applications, if possible.
So I guess this is not getting maintained anymore and may disappear.
You can install it with "Docker Toolbox for Windows" from here: Official Source
I had problem in installation but finally installed properly with these catches:
Hyper V must be enabled (wasn't possible when I was trying in windows server hosted in another VM, had to switch)
It was telling that virtualbox has error so it cannot continue :/ Solved it by uninstalling docker, virtualbox both, then removed all vbox* .dll files from c:\windows\system32\drivers folder. Afterwards when re-installed again, it worked.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 2 years ago.
Improve this question
I have a two part question:
first is that can anyone please tell me the command lines to execute in docker to start building a container and vm?
second is i have already built a VM using docker but the problem is whenever the building of VM reaches the stage where it written WAITING FOR VM TO BOOT it's stuck there and the error of HYPERVISOR IS NOT RUNNING comes even when the HYPER-V MACHINE MANAGEMENT is on automatic and running.
So please, help me get rid of this problem.
To create a VM which will run docker, use docker-machine: copy docker-machine-Windows-x86_64.exe as docker-machine.exe anywhere you want.
docker-machine create -d virtualbox
docker-machine start
But Make sure you have removed the Windows feature HyperV, as it is not compatible with VirtualBox/VMWare.
Or use the Hyper-V driver. You have to chose one or the other.
See "Getting Docker running on Windows 10"
as it turns out, HyperV and VirtualBox will not run together side-by-side in 64 bit modes. And Scott's blog post about rebooting to a hypervisorlaunchtype off mode of Windows 8.1 worked flawlessly for Windows 10.
So I didn't have to un-install the HyperV feature, but as it turns out, I did have to disable HyperV