lazydocker
lazydocker copied to clipboard
brew install lazydocker don't work
brew install lazydocker don't work. The message is:
Docker event stream returned error: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
I'm running it on MacBook Pro M1. Docker is running.
Same thing was happening to me, it's a bug in Docker itself fixed two days ago; see changelog for 4.13.1
Had the same problem, can confirm that the latest Docker update fixes the issue.
After installing lazydocker both the one and the other method of application in the latest MacOs does not start.
@Zbigniewlatka is there an error message? Is it a M1 mac?
there is no message. MacBook 2020 M1. :)
Found my solution here, on MacOS looks like the docker socket is somewhere else by default so I had to create a symlink
sudo ln -s ~/Library/Containers/com.docker.docker/Data/docker.raw.sock /var/run/docker.sock
DOCKER_HOST=unix:///var/run/docker.sock docker ps # test that it works using linked socket file
Source -> https://stackoverflow.com/a/74148162
The solution above worked for me, but that's pretty annoying and might make some people stop using this app. Any expectations to include this fix to the main lib?
Is this something that can be fixed by bumping the docker SDK from within lazydocker or do users just need to update their docker versions?
I think this may be fixed in the latest Docker Desktop release, or at least there is an option to get the behavior I would expect.