It seems I’ve fixed the issue.
What i did was input
sudo adduser (username) and then the docker group in terminal and it worked.
I ran into another issue though which I’ve faced before when running lamp stack where when trying to update plugins on wordpress it asks for FTP connection. To fix this, i started by looking at what permissions are needed with
ps aux then look for DevKinsta, in my case it was user.
Next i navigated to where the website is located /home/DevKinsta/public/(websitename) and then i changed the permissions to user with
sudo chown -R (user) (websitename)/ and now it is working fine.
Hope this can be of use to anyone who has the same problems as me!