I had docker working and then I went and upgraded the version by downloading the latest Docker CE dmg from docker.com and installing over the old version. Since then I have been unable to get the Docker app to start.
Double-clicking it would make a spinning beach ball of death appear when hovering over the tray area where the docker icon should open. After a few seconds the activity monitor would list Docker as "not responding".
Attempting to start the app via the command line as sudo gives the following error:
/Applications/Docker.app/Contents/MacOS: sudo ./Docker
json error: Error Domain=NSCocoaErrorDomain Code=3840 "No value." UserInfo={NSDebugDescription=No value.}
kern.hv_support: 1
And the process still hangs.
Mac OS Info
El Capitan
10.11.6 (15G1217)
Latest Docker version at the time:
Version 17.03.0-ce-mac2 (15654)
Channel: stable
I've tried uninstalling and reinstalling the docker app. I could not use a Factory Reset on Docker since it never fully started. I have tried uninstalling, rebooting, and reinstalling. I have tried to removing the ~/Library/Containers/com.docker* directories. I've removed all of the docker links in /usr/local/bin. I've tried going back to older versions of Docker such as 1.12.6.14937. I've tried the edge version of the latest Docker.
I finally managed to get Docker working with the latest version of Docker by doing the following:
Uninstall Docker from Applications
Using CCleaner to look at the startup items and remove the com.docker.vmnetd entry. << this seems to be the key thing I hadn't done before!!!
Reboot the computer
Reinstall Docker
Launch Docker
Enter admin password
Sacrifice a chicken
Profit
Related
I've used docker desktop in Linux and Windows without problem, but i recently got a mac, and when i try to start a docker container i have setup via Docker Desktop, the docker container starts, but immediately just changes from "Running" to "exited" status.
This doesnt happen in the other environments i use docker, so any help would be appreciated.
I have been trying to find any kind of logs, but i cant find any.
im using mac os x 11.7.1 (Big Sur)
Docker desktop is the newest version 4.16.2
I have tried so far:
Reinstalling Docker Desktop
verified and ensured the permissions for access to docker are set correctly (access to files and folders)
I have setup my dockerhub account
Im using the latests versions of the php and python images available at docker hub.
Thank you.
After upgrading Docker from 4.5.1 to 4.7.0 in Windows 10, Docker won't start again. Try to uninstall and install back to an older version, but there is no containers and volumes anymore. Did uninstalling Docker delete my old containers and volumes ? How to get my containers and volumes back ?
I'm using docker for a while and when I installed it I didn't note if the command line and the GUI Docker desktop were installed as two separate things. So I want to uninstall only the docker desktop but keep the command line working on MACOSX 11.
Is that possible? How can I do that?
When I try to run Debug F5 from VS 2019 using Docker
I see the following error
C:\Users\comet.nuget\packages\microsoft.visualstudio.azure.containers.tools.targets\1.9.10\build\Container.targets(198,5):
error CTC1001: Volume sharing is not enabled. On the Settings screen
in Docker Desktop, click Shared Drives, and select the drive(s)
containing your project files.
I have WSL2 and latest Docker Desktop, google says that sharing is already done
automatically so Desktop has no such Setting at all
I had the same problem with an older project. Creating a new project with docker support worked fine. The difference I found that the old project file had:
<OutputType>Exe</OutputType>
and the new project did not have that line, so I removed it. Also updated the targets:
<PackageReference Include="Microsoft.VisualStudio.Azure.Containers.Tools.Targets" Version="1.10.9" />
This solved it for me
To start docker in WSL2 Ubuntu 20.04
first start wsl2
then run the command below to start docker daemon
sudo /etc/init.d/docker start
I have Mac 10.10.5,
I have downloaded Docker native for Mac.
In spite of having admin access to my machine, I keep getting following error
Administrator privileges are required.
You need administrator privileges on this computer to install Docker.
Please log in as an administrator to install the app, then you can use Docker
with standard user accounts.
I used to have Docker Native Beta, few weeks back I tried upgrading it, and since then I started having this issue.
Any idea why is this happening?