I’m currently trying to set up DevKinsta on my machine, and I and consistently getting the DK0006 Error.
Description: Couldn’t download docker images.
DevKinsta couldn’t load the required Docker images.
The download freezes a quarter of the way through, and after that I am unable to fully close the DevKinsta app, and have to restart my machine in order to close it.
I’m currently on a Macbook running MacOS Monterey (12.6) with the Apple M1 Pro Chip.
I’ve also ensured that I’ve downloaded the correct Docker and DevKinsta versions for my machine along with ensuring enough Docker resources are available.
Does anybody have any suggestions on how to resolve this issue?
That should save you from having to restart. That being said, please share your main.log file with me privately. It will be here on MacOS: /Users/[USERNAME]/Library/Logs/DevKinsta or ~/Library/Logs/DevKinsta
Thanks for the response, force quitting the app from the Force Quit menu doesn’t quit the app properly either (which led me to the restart). It says it quits the app, but then when I attempt to reopen the app it opens in the same state as it was when I force quit it.
I also don’t see the DevKinsta directory in the Logs either
Can you please try a manual image pull like this from the command line? I want to be sure it isn’t a network issue docker pull kinsta/devkinsta_nginx:1.2.6
I then restarted my machine (to be able to quit DevKinsta), and opened Docker and then the DevKinsta app, it started with ‘Starting Docker’ before erroring out with the DK006 Error message again after 5 - 10 minutes.
I’m having the exactly same issue.
Even with all the images manually installed and docker running the setup process fails with the following error in the logs:
[2022-10-21 12:04:19.702] [info] [dockerClient/isReady] Check if Docker client is ready
[2022-10-21 12:04:27.703] [info] [dockerClient/isReady] Check if Docker client is ready
[2022-10-21 12:04:34.092] [info] [dockerUtil/getImage] Get Docker image, name: kinsta/devkinsta_nginx:1.2.6
[2022-10-21 12:04:34.093] [info] [dockerUtil/isImageUpToDate] Check if 'kinsta/devkinsta_nginx' Docker image is up to date
[2022-10-21 12:04:34.093] [warn] [dockerUtil/isImageUpToDate] Failed to inspect image undefined
[2022-10-21 12:04:34.094] [info] [dockerUtil/pullImage] Pull Docker image. name: kinsta/devkinsta_nginx, version: 1.2.6
[2022-10-21 12:04:34.098] [error] Error: connect ENOENT /var/run/docker.sock
at __node_internal_captureLargerStackTrace (node:internal/errors:464:5)
at __node_internal_exceptionWithHostPort (node:internal/errors:642:12)
at PipeConnectWrap.afterConnect [as oncomplete] (node:net:1157:16)
[2022-10-21 12:04:34.101] [error] Error: connect ENOENT /var/run/docker.sock
at __node_internal_captureLargerStackTrace (node:internal/errors:464:5)
at __node_internal_exceptionWithHostPort (node:internal/errors:642:12)
at PipeConnectWrap.afterConnect [as oncomplete] (node:net:1157:16)
This is odd; okay, I will try to get a virtual machine up to reproduce this. I’m also assuming you are both using the correct DevKinsta version for you Macs:
I’m going to ask our developers to look over this as well and will get back to you both!
I’m guessing this file really doesn’t exist on your machine? /var/run/docker.sock
Restarting your computer is supposed to resolve this, however you mentioned you already did this.
I will point out, though that this thread came out a day after Docker Desktop 4.13.0 was released so it’s definitely possible that there is an update issue as mentioned in the above thread as well.
It looks like the issue occurs simply by updating regardless of what version it is. I know they are Linux instructions but they might also apply to Unix. It’s worth trying the suggestions here: Fix Docker VS Code Error: connect EACCES /var/run/docker.sock
If nothing works we’ll keep trying to reproduce this on our end.