Cannot start docker on mac - Fatal Error - The operation couldn't be completed. (Docker.VmnetdError error 1.) - macos

When I installing the docker for Mac, I got the Fatal Error - The operation couldn't be completed. (Docker.VmnetdError error 1.)

That issue came because of the, image file directly opening. you can drag the docker image and drop in to the Applications and after that open the Docker.app from the Applications folder. Solves the issue😀

My Docker.app was already in the Applications folder but I still got the error The operation couldn't be completed. (Docker.VmnetdError error 1.) when trying to open it. What solved it for me was resetting docker by clicking the Reset Docker to factory defaults.

I had this issue for weeks, upgrading to Version 3.0.0 resolved this issue. I
downloaded it and it opens straight away no errors.
Another error i was seeing

Related

Docker commit or build fails with - hcsshim::ImportLayer - failed. (Windows)

Been stuck with this failure a few days.
This happens when I build an image or try to commit after installing a particular application. I'm using mcr.microsoft.com/windows/servercore:ltsc2019 as base image.
"Error response from daemon: re-exec error: exit status 1: output: hcsshim::ImportLayer - failed failed in Win32: The system cannot find the path specified. (0x3)"
If I do not install my application to the image, I do not get this error. The application installs fine without any failures. I'm able to run the container fine with this application installed, but it fails when I commit it to an image.
I came across a few existing posts with this error, but I couldn't get this to work. Some existing posts mentions about possible size limit of the image but here I don't see size to be an issue. This error is too vague for me to do anything about it. Where can I look for some detailed logging from docker daemon to try to understand what in my application is causing the docker commit to fail?
Tried to look into log under, I don't find any thing useful to understand this failure.
AppData\Local\Docker
Appreciate any help or pointers to find what in my application can cause this commit failure.

Xcode 12.5 deploy: An error occurred uploading to the App Store

I get this error when deploying with Xcode 12.5 at the final step, while uploading:
App Store Connect Operation Error
An error occurred uploading to the App Store.
There's no further description nor can I find anything about it.
None of the fixes I found on older posts helped on this one.
When I execute ./iTMSTransporter -version here /Applications/Xcode.app/Contents/SharedFrameworks/ContentDeliveryServices.framework/Versions/A/itms/bin I get this error:
java.io.IOException: Server returned HTTP response code: 502 for URL: https://contentdelivery.itunes.apple.com/transporter/lib/osgibootstrapper.jar
Not sure if that has anything to do with it...
How can I fix this or where can I find more information on this error?
Faced the same issue today. I have completely clean the Derived Data and other Developer cache files and started from the beginning (Archive + Upload). This solved the problem.
Also, the first build failed because I ran out of disk space but this is maybe not related to the issue.
What works for me:
Create archive with Xcode 12.5
Quit Xcode 12.5
Open Xcode 13
Open Organizer and upload archive

Kyma restart issue in local

I have installed Kyma version 1.13.0 on Windows, it's working fine if I don't restart my machine or minikube. But when I restart minikube by following steps provided in the below link. Kyma is not working.
https://kyma-project.io/docs/latest/root/kyma#installation-install-kyma-locally-stop-and-restart-kyma-without-reinstalling
I need to reinstall kyma again to make it work.
Any help would be appreciated
This sounds similar to what I get on my Windows machine.
This is the error that I get after restarting minikube.
stderr:
error execution phase addon/coredns: unable to patch the CoreDNS deployment: Timeout: request did not complete within requested timeout 30s
To see the stack trace of this error execute with --v=5 or higher
If you get same error, this has been reported as a bug.
https://github.com/kyma-project/cli/issues/455
My solution to this issue is to get the kyma working by issuing provision command twice, so give it a try.

"minikube start" failed on mac

When I attempt to run minikube on locally, I got this error:
minikube start
Starting local Kubernetes v1.8.0 cluster...
Starting VM...
Getting VM IP address...
Moving files into cluster...
E1229 09:52:55.432296 8935 start.go:223] Error updating cluster: Error updating localkube from uri: Error creating localkube asset from url: Error opening file asset: /Users/user007/.minikube/cache/localkube/localkube-v1.8.0: open /Users/user007/.minikube/cache/localkube/localkube-v1.8.0: no such file or directory
How can I fix this problem? I tried many ways, but no one worked.😢
My system is macOS Sierra.
Looks like this is a recurring issue. Check out the github issues here: https://github.com/kubernetes/minikube/issues/2468
I was having this issue and followed Chris Darby link (https://github.com/kubernetes/minikube/issues/2468).
I managed to fix it with the following workaround (considering the new version 1.9.0):
Download localkube
Rename it to localkube-v1.9.0
Copy the file
in ~/.minikube/cache/localkube/localkube-v1.9.0

Docker hangs while pulling

I am trying to run docker run docker/whalesay cowsay boo from the tutorial.
Here is the output I get:
Unable to find image 'docker/whalesay:latest' locally
latest: Pulling from docker/whalesay
e190868d63f8: Already exists
909cd34c6fd7: Already exists
0b9bfabab7c1: Already exists
a3ed95caeb02: Pulling fs layer
00bf65475aba: Already exists
c57b6bcc83e3: Already exists
8978f6879e2f: Waiting
8eed3712d2cf: Download complete
It has been 10 minutes but nothing shows up. Is it supposed to take that long?
I tried control+C and re-run the command, and restarting Docker Quickstart Terminal. It's still not solving the problem.
You don't have to reinstall. Just restarting docker service should do
service docker restart
Similar situation. I got the feeling that concurrent download caused the problem. So I just force the docker downloading connection to 1.
docker-icon -> perferences -> daemon -> add the following code:
{
"max-concurrent-downloads": 1
}
slower but more stable.
Reinstalling docker from scratch solved the problem for me
I also was getting stuck on the "Pulling fs layer" when pulling images, and just want to add another reason it might be happening (this was what happened to me): I was connected to my corporate network and needed to set proxies; once I set the proxies, the image pull finished fine.
I had the same problem because of antivirus program. After I've disabled it (to disable it quickly, I just renamed McAfee installation directory and rebooted) - Docker finally was able to pull all layers.
Just reset default os in virtualBox and try again.
In my case, I had installed boot2docker long ago (March 2016), and this was overshadowing Docker for Mac. I had to manually uninstall boot2docker.

Resources