# Keep getting DK0006 Error when trying to install DevKinsta

**URL:** https://community.kinsta.com/t/keep-getting-dk0006-error-when-trying-to-install-devkinsta/1816
**Category:** Installation
**Created:** [October 20, 2022, 1:28pm UTC](https://community.kinsta.com/t/keep-getting-dk0006-error-when-trying-to-install-devkinsta/1816 "2022-10-20T13:28:06Z")
**Posts on this page:** 20
**Page:** 1

<div class="post-metadata">

### Author: ![Steffan\_Carrington](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/steffan_carrington/32/1540_2.png) [@Steffan\_Carrington](https://community.kinsta.com/u/Steffan_Carrington)
#### Post date: [October 20, 2022, 1:28pm UTC](https://community.kinsta.com/t/keep-getting-dk0006-error-when-trying-to-install-devkinsta/1816/1 "2022-10-20T13:28:06Z")

</div>

Hey,

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?

---

<div class="post-metadata">

### Author: ![Kevin](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/kevin/32/808_2.png) [@Kevin](https://community.kinsta.com/u/Kevin)
#### Post date: [October 20, 2022, 4:57pm UTC](https://community.kinsta.com/t/keep-getting-dk0006-error-when-trying-to-install-devkinsta/1816/2 "2022-10-20T16:57:37Z")

</div>

Hi @Steffan_Carrington, thanks for reaching out. So if DevKinsta every hangs up, you can force it to quit: [How to force an app to quit on your Mac - Apple Support](https://support.apple.com/en-us/HT201276)

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`

---

<div class="post-metadata">

### Author: ![Steffan\_Carrington](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/steffan_carrington/32/1540_2.png) [@Steffan\_Carrington](https://community.kinsta.com/u/Steffan_Carrington)
#### Post date: [October 20, 2022, 5:18pm UTC](https://community.kinsta.com/t/keep-getting-dk0006-error-when-trying-to-install-devkinsta/1816/3 "2022-10-20T17:18:08Z")

</div>

Hi @Kevin ,

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.

![Screenshot 2022-10-20 at 14.35.55](https://us1.discourse-cdn.com/flex020/uploads/kinsta/original/2X/9/9a9df8c9512c5ae428fd46179b4ef61d5e0a1dce.png)

I also don’t see the DevKinsta directory in the Logs either 😞

---

<div class="post-metadata">

### Author: ![Kevin](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/kevin/32/808_2.png) [@Kevin](https://community.kinsta.com/u/Kevin)
#### Post date: [October 20, 2022, 5:20pm UTC](https://community.kinsta.com/t/keep-getting-dk0006-error-when-trying-to-install-devkinsta/1816/4 "2022-10-20T17:20:18Z")

</div>

That’s very odd; I haven’t used DK on Mac in a while but force quitting used to work. Perhaps there’s another instance of it running.

What are you seeing within Docker Desktop? Are any of the images being downloaded? I want to make sure it isn’t just being held up at one.

 ![image](https://us1.discourse-cdn.com/flex020/uploads/kinsta/original/2X/6/6de6e54b31d6cc48a87c7a2b8d37e6905e15092d.png)

---

<div class="post-metadata">

### Author: ![Steffan\_Carrington](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/steffan_carrington/32/1540_2.png) [@Steffan\_Carrington](https://community.kinsta.com/u/Steffan_Carrington)
#### Post date: [October 20, 2022, 5:22pm UTC](https://community.kinsta.com/t/keep-getting-dk0006-error-when-trying-to-install-devkinsta/1816/5 "2022-10-20T17:22:15Z")

</div>

I don’t see any images within Docker, my Docker dashboard is empty.

I’ve also checked that there is enough resource allocated in Docker

 ![Screenshot 2022-10-20 at 18.21.57](https://us1.discourse-cdn.com/flex020/uploads/kinsta/original/2X/1/194419833ba027f15fb91bfb3de5b9fb2ec35c30.png)

---

<div class="post-metadata">

### Author: ![Kevin](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/kevin/32/808_2.png) [@Kevin](https://community.kinsta.com/u/Kevin)
#### Post date: [October 20, 2022, 6:34pm UTC](https://community.kinsta.com/t/keep-getting-dk0006-error-when-trying-to-install-devkinsta/1816/6 "2022-10-20T18:34:35Z")

</div>

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`

---

<div class="post-metadata">

### Author: ![Steffan\_Carrington](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/steffan_carrington/32/1540_2.png) [@Steffan\_Carrington](https://community.kinsta.com/u/Steffan_Carrington)
#### Post date: [October 20, 2022, 7:24pm UTC](https://community.kinsta.com/t/keep-getting-dk0006-error-when-trying-to-install-devkinsta/1816/7 "2022-10-20T19:24:09Z")

</div>

Running it via the command line worked fine 🙂

Do you have a list of the remaining images I need please? 🙏 and I’ll add those via the command line instead.

 ![Screenshot 2022-10-20 at 20.22.41](https://us1.discourse-cdn.com/flex020/uploads/kinsta/original/2X/e/e4526c4796d8a6441282cd6505ce776697033d81.png)

---

<div class="post-metadata">

### Author: ![Kevin](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/kevin/32/808_2.png) [@Kevin](https://community.kinsta.com/u/Kevin)
#### Post date: [October 20, 2022, 8:39pm UTC](https://community.kinsta.com/t/keep-getting-dk0006-error-when-trying-to-install-devkinsta/1816/8 "2022-10-20T20:39:15Z")

</div>

Very strange okay here are the ones I have:

> justincormack/nsenter1  
> kinsta/devkinsta\_adminer:1.2.6  
> kinsta/devkinsta\_fpm:1.2.6  
> kinsta/devkinsta\_mailhog:1.2.6  
> kinsta/devkinsta\_nginx:1.2.6  
> mariadb:10.5.5

---

<div class="post-metadata">

### Author: ![Steffan\_Carrington](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/steffan_carrington/32/1540_2.png) [@Steffan\_Carrington](https://community.kinsta.com/u/Steffan_Carrington)
#### Post date: [October 21, 2022, 7:44am UTC](https://community.kinsta.com/t/keep-getting-dk0006-error-when-trying-to-install-devkinsta/1816/9 "2022-10-21T07:44:14Z")

</div>

I have now downloaded the required images, which now appear in Docker:

 ![Screenshot 2022-10-21 at 10.16.49](https://us1.discourse-cdn.com/flex020/uploads/kinsta/original/2X/6/62df2d114e3551db835ce28ec023f4d927fd5ace.png)

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.

Am I missing a particular Docker Image or?

---

<div class="post-metadata">

### Author: ![jpb](https://avatars.discourse-cdn.com/v4/letter/j/f475e1/32.png) [@jpb](https://community.kinsta.com/u/jpb)
#### Post date: [October 21, 2022, 10:07am UTC](https://community.kinsta.com/t/keep-getting-dk0006-error-when-trying-to-install-devkinsta/1816/10 "2022-10-21T10:07:12Z")

</div>

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:

```auto
[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)

```

OS: macOS Monterey 12.6 (21G115)  
Docker Desktop: aarm64 v4.13.0  
DevKinsta: Version 2.8.0 (2.8.0.5344)

---

<div class="post-metadata">

### Author: ![Kevin](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/kevin/32/808_2.png) [@Kevin](https://community.kinsta.com/u/Kevin)
#### Post date: [October 21, 2022, 4:08pm UTC](https://community.kinsta.com/t/keep-getting-dk0006-error-when-trying-to-install-devkinsta/1816/11 "2022-10-21T16:08:15Z")

</div>

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:  
 ![image](https://us1.discourse-cdn.com/flex020/uploads/kinsta/original/2X/3/3f0dfc7eca240abc3850dab4cce61e187c3632ee.png)

I’m going to ask our developers to look over this as well and will get back to you both!

---

<div class="post-metadata">

### Author: ![Steffan\_Carrington](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/steffan_carrington/32/1540_2.png) [@Steffan\_Carrington](https://community.kinsta.com/u/Steffan_Carrington)
#### Post date: [October 21, 2022, 4:19pm UTC](https://community.kinsta.com/t/keep-getting-dk0006-error-when-trying-to-install-devkinsta/1816/12 "2022-10-21T16:19:53Z")

</div>

Yeah I used the ‘Mac with Apple Chip’ option.

Thanks for looking into this Kevin 👍

---

<div class="post-metadata">

### Author: ![jpb](https://avatars.discourse-cdn.com/v4/letter/j/f475e1/32.png) [@jpb](https://community.kinsta.com/u/jpb)
#### Post date: [October 21, 2022, 5:00pm UTC](https://community.kinsta.com/t/keep-getting-dk0006-error-when-trying-to-install-devkinsta/1816/13 "2022-10-21T17:00:44Z")

</div>

Yeah, both binaries, docker and devkinsta, are also shown to be running as “Kind: Apple”, which means that they’re using native aarm64 (Apple chip).

Likewise, thanks for looking into this! Feel free to contact me, if you want to set up a remote debugging session with one of your devs.

---

<div class="post-metadata">

### Author: ![Steffan\_Carrington](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/steffan_carrington/32/1540_2.png) [@Steffan\_Carrington](https://community.kinsta.com/u/Steffan_Carrington)
#### Post date: [October 24, 2022, 2:19pm UTC](https://community.kinsta.com/t/keep-getting-dk0006-error-when-trying-to-install-devkinsta/1816/14 "2022-10-24T14:19:38Z")

</div>

Hi @Kevin ,

Did you have any luck with this?

---

<div class="post-metadata">

### Author: ![Kevin](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/kevin/32/808_2.png) [@Kevin](https://community.kinsta.com/u/Kevin)
#### Post date: [October 24, 2022, 4:18pm UTC](https://community.kinsta.com/t/keep-getting-dk0006-error-when-trying-to-install-devkinsta/1816/15 "2022-10-24T16:18:12Z")

</div>

Hi @Steffan_Carrington and @jpb , I asked our devs to look into the error and based on what you shared, it’s a Docker issue:

> [error] Error: connect ENOENT /var/run/docker.sock

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 found this thread which implies that there may be a hardware incompatibility with your Docker version, but that doesn’t seem right either: [Docker starting error · Issue #2498 · docker/for-mac · GitHub](https://github.com/docker/for-mac/issues/2498)

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.

I also recommend trying this out: [https://www.davidhayden.me/blog/fix-docker-vs-code-error-connect-eacces-var-run-docker-sock](https://www.davidhayden.me/blog/fix-docker-vs-code-error-connect-eacces-var-run-docker-sock)

We haven’t been able to reproduce the issue but thanks to your logs, we can at least narrow it down to Docker.

---

<div class="post-metadata">

### Author: ![Steffan\_Carrington](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/steffan_carrington/32/1540_2.png) [@Steffan\_Carrington](https://community.kinsta.com/u/Steffan_Carrington)
#### Post date: [October 24, 2022, 5:17pm UTC](https://community.kinsta.com/t/keep-getting-dk0006-error-when-trying-to-install-devkinsta/1816/16 "2022-10-24T17:17:03Z")

</div>

Hi @Kevin ,

Thanks for chasing this up.

I’m still getting the same error on Docker 4.12.0. I thought that maybe using an older version would solve the issue but no luck.

---

<div class="post-metadata">

### Author: ![Kevin](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/kevin/32/808_2.png) [@Kevin](https://community.kinsta.com/u/Kevin)
#### Post date: [October 24, 2022, 5:19pm UTC](https://community.kinsta.com/t/keep-getting-dk0006-error-when-trying-to-install-devkinsta/1816/17 "2022-10-24T17:19:46Z")

</div>

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](https://www.davidhayden.me/blog/fix-docker-vs-code-error-connect-eacces-var-run-docker-sock)

If nothing works we’ll keep trying to reproduce this on our end.

---

<div class="post-metadata">

### Author: ![Taka](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/taka/32/1551_2.png) [@Taka](https://community.kinsta.com/u/Taka)
#### Post date: [October 24, 2022, 5:19pm UTC](https://community.kinsta.com/t/keep-getting-dk0006-error-when-trying-to-install-devkinsta/1816/18 "2022-10-24T17:19:54Z")

</div>

I’m having the exactly same issue.

OS: macOS Monterey 12.6  
Docker Desktop: v4.13.0  
DevKinsta: Version 2.7.0

---

<div class="post-metadata">

### Author: ![Kevin](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/kevin/32/808_2.png) [@Kevin](https://community.kinsta.com/u/Kevin)
#### Post date: [October 24, 2022, 5:20pm UTC](https://community.kinsta.com/t/keep-getting-dk0006-error-when-trying-to-install-devkinsta/1816/19 "2022-10-24T17:20:31Z")

</div>

Thanks for sharing @Taka. Is this the first time you have installed Docker Desktop on your Mac?

---

<div class="post-metadata">

### Author: ![hawaii-aloha](https://avatars.discourse-cdn.com/v4/letter/h/76d3ee/32.png) [@hawaii-aloha](https://community.kinsta.com/u/hawaii-aloha)
#### Post date: [October 24, 2022, 11:32pm UTC](https://community.kinsta.com/t/keep-getting-dk0006-error-when-trying-to-install-devkinsta/1816/20 "2022-10-24T23:32:53Z")

</div>

4.10.1 solved all issues for me on macOS 13.0

[Next page](https://community.kinsta.com/t/keep-getting-dk0006-error-when-trying-to-install-devkinsta/1816.md?page=2)
