jesseduffield/lazydocker

Why Common Install .sh isn't working?

engineertrooper opened this issue · 0 comments

Hi,

any idea why the install script of the repository https://raw.githubusercontent.com/jesseduffield/lazydocker/master/scripts/install_update_linux.sh is'nt working on a vmware virtuell machine ubuntu 64 bit (image: ubuntu-22.04.3-desktop-amd64.iso). Ubuntu was installed with the minimum of utilites. The host is Win10.

I got it running with these steps:

wget https://github.com/jesseduffield/lazydocker/releases/download/v0.21.1/lazydocker_0.21.1_Linux_x86_64.tar.gz
tar xvzf lazydocker*.tar.gz

sudo install lazydocker /usr/local/bin/
sudo systemctl status docker
sudo lazydocker

The first way with install_update_linux.sh give me normal command in terminal lazydocker is running, but I get the socket error docker.sock: connet: permission denied. The command sudo lazydocker says lazydocker command not found.

The second way gives me both from above. I get the socket error without sudo and with sudo it is running and the magic starts with lazydocker to manage containers.

Probably it would be a good idea to add docker to a group to avoid the use of sudo all the time. But that's not my question here. Or is it the answer?