Multiple error when trying to get docker-compose-ce.yaml up [need user to be in docker group]

Running Ubuntu 22.04.2 LTS
i am running this locally on my own device that I want to self host and I am trying to follow Network Chuck Install video - stop giving your passwords to hackers - YouTube

but when i get to “test” the install and start the instance, it gives me a large line of errors.

Hi @rustyg Welcome to the forum!

Are you running the command with a user that has special rights for docker?

See https://help.passbolt.com/hosting/install/ce/docker.htm

And from the above page, this Linux post-installation steps for Docker Engine | Docker Documentation

I am running it with an admin account, yes. Is there a way I can show this via CLI? I have physical access to the machine, but it is a bit of work to get the KVM all out and hooked up.

Is your user in the docker group? Errorno 13 is commonly due to running commands with mismatched user and file permissions.

On Ubuntu you can run in console:

cat /etc/group | grep {username}

which will show all groups the user is in.

For example, if my user’s id is pubwebuser then:

pubwebuser@pubweb:~$ cat /etc/group | grep pubwebuser
adm:x:4:syslog,pubwebuser
cdrom:x:24:pubwebuser
sudo:x:27:pubwebuser
dip:x:30:pubwebuser
plugdev:x:46:pubwebuser
lxd:x:111:pubwebuser
pubwebuser:x:1000:
lpadmin:x:117:pubwebuser
sambashare:x:118:pubwebuser

You would be looking for something like docker:x:###:pubwebuser

mine does not not show this. I only see:

should i use your link to: Linux post-installation steps for Docker Engine to do this?

rusty@bitwarden:~$ cat /etc/group | grep rusty
adm:x:4:syslog,rusty
cdrom:x:24:rusty
sudo:x:27:rusty
dip:x:30:rusty
plugdev:x:46:rusty
lpadmin:x:122:rusty
lxd:x:134:rusty
rusty:x:1000:
sambashare:x:135:rustype or paste code here

Yes, correct - it’s in the prerequisites from the official install guide for the Docker flavor:
image

1 Like

thank you so much! This got me working!!!

1 Like