# Need to add current user to "docker" group on Ubuntu

**URL:** https://community.kinsta.com/t/need-to-add-current-user-to-docker-group-on-ubuntu/630
**Category:** Bug Reports
**Created:** [April 20, 2021, 1:07pm UTC](https://community.kinsta.com/t/need-to-add-current-user-to-docker-group-on-ubuntu/630 "2021-04-20T13:07:55Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![Flimm](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/flimm/32/450_2.png) [@Flimm](https://community.kinsta.com/u/Flimm)
#### Post date: [April 20, 2021, 1:07pm UTC](https://community.kinsta.com/t/need-to-add-current-user-to-docker-group-on-ubuntu/630/1 "2021-04-20T13:07:55Z")

</div>

Hi.

I’m trying out DevKinsta right now on Ubuntu 20.10. I downloaded and installed the `.deb` file successfully. I then launched it by running this command in the terminal:

```
dev-kinsta

```

After it installed `docker-ce` in the background, it attempted to start docker, but it wouldn’t work. Even running `sudo service docker start` didn’t work. I looked at the logs by running `journalctl -u docker.service`. After googling the error messages, I realised that I had to disable my VPN for docker to work.

After this, DevKinsta still couldn’t start Docker. I realised that I needed to configure Docker to be accessed without `sudo`. This is how I did it:

```
sudo groupadd docker
sudo gpasswd -a $USER docker

```

I then logged out and logged in again. I then ran:

```
sudo service docker restart

```

I then ran `groups` to check that `docker` was in the current user’s groups.

I then launched DevKinsta, and it started updating Docker images.

---

<div class="post-metadata">

### Author: ![michael](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/michael/32/31_2.png) [@michael](https://community.kinsta.com/u/michael)
#### Post date: [April 20, 2021, 4:43pm UTC](https://community.kinsta.com/t/need-to-add-current-user-to-docker-group-on-ubuntu/630/2 "2021-04-20T16:43:09Z")

</div>

Hi @Flimm . Thanks so much for reporting on this and providing a solution to it! I’ve moved this over to bug reports and will keep you updated along the way.

---

<div class="post-metadata">

### Author: ![Hade](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/hade/32/563_2.png) [@Hade](https://community.kinsta.com/u/Hade)
#### Post date: [June 28, 2021, 6:44pm UTC](https://community.kinsta.com/t/need-to-add-current-user-to-docker-group-on-ubuntu/630/3 "2021-06-28T18:44:27Z")

</div>

You are a life saver!

---

<div class="post-metadata">

### Author: ![Hade](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/hade/32/563_2.png) [@Hade](https://community.kinsta.com/u/Hade)
#### Post date: [June 28, 2021, 6:36pm UTC](https://community.kinsta.com/t/need-to-add-current-user-to-docker-group-on-ubuntu/630/4 "2021-06-28T18:36:42Z")

</div>

Hi there  
I installed DevKinsta for my Ubuntu 20.04.2 LTS ,but I’m facing error DK0004 even though I checked and Docker is running!  
I’d appreciate any help.  
Thanks

Update  
Found a solution here [Need to add current user to "docker" group on Ubuntu](https://community.kinsta.com/t/need-to-add-current-user-to-docker-group-on-ubuntu/630)  
Please lock!

---

<div class="post-metadata">

### Author: ![michael](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/michael/32/31_2.png) [@michael](https://community.kinsta.com/u/michael)
#### Post date: [June 28, 2021, 11:35pm UTC](https://community.kinsta.com/t/need-to-add-current-user-to-docker-group-on-ubuntu/630/5 "2021-06-28T23:35:47Z")

</div>

Apologies for the trouble there @Hade !
