On 6/24/22 22:56, Theo Van Dinter via WLUG wrote:
The = is from "ls -F", it means it's a socket file (which we also see from the "s" file type in "ls -l" and the filename is also a good indicator).
I have no experience with docker, but the error message and other quoted bits implies you're running things as user "admin" which I'd guess doesn't have user or group root privileges so you can't write to the file.
If you are attempting to run containers without being root, I would recommend that you use Podman rather then Docker. It is much more secure.
On Fri, Jun 24, 2022, 22:23 Kevin Stratton via WLUG <wlug@lists.wlug.org> wrote:
I am having trouble with getting pi-hole working with my Asustore NAS. I think I have traced it down to an issue with the docker install. I did verify that the docker CE (community edition) was also installed.
Per a tutorial about docker, I should be able to run something like hello world and it will install. I may not have the name correctly entered, but I do not think in this case it matters (yet)
admin@AS5202T-7085:/var/run $ docker run hello-world
docker: Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Post "http://%2Fvar%2Frun%2Fdocker.sock/v1.24/containers/create": dial unix /var/run/docker.sock: connect: permission denied.
See 'docker run --help'.
admin@AS5202T-7085:/var/run $
When I did a ls -l of /var/run in a ssh session, I got the following:
srw-rw---- 1 root root 0 Jun 24 19:57 docker.sock=
The "=" is something I am not familiar with. Could it mean that the symbolic link is to itself?
I could not find any references to this online and could not replicate this experimenting with ln in my Ubuntu distribution.
_______________________________________________ WLUG mailing list -- wlug@lists.wlug.org To unsubscribe send an email to wlug-leave@lists.wlug.org Create Account: https://wlug.mailman3.com/accounts/signup/ Change Settings: https://wlug.mailman3.com/postorius/lists/wlug.lists.wlug.org/ Web Forum/Archive: https://wlug.mailman3.com/hyperkitty/list/wlug@lists.wlug.org/message/SQVT5E...
_______________________________________________ WLUG mailing list --wlug@lists.wlug.org To unsubscribe send an email towlug-leave@lists.wlug.org Create Account:https://wlug.mailman3.com/accounts/signup/ Change Settings:https://wlug.mailman3.com/postorius/lists/wlug.lists.wlug.org/ Web Forum/Archive:https://wlug.mailman3.com/hyperkitty/list/wlug@lists.wlug.org/message/UZDWLE...