Wont run. unknown server OS: dockerd is running okay. #251

Open
opened 2025-12-29 00:21:44 +01:00 by adam · 5 comments
Owner

Originally created by @obnoxiousmods on GitHub (Sep 30, 2021).

~ » docker run -it \ o@mary
--device /dev/kvm
-p 50922:10022
-v /tmp/.X11-unix:/tmp/.X11-unix
-e "DISPLAY=${DISPLAY:-:0.0}"
sickcodes/docker-osx:auto

docker: unknown server OS: .
See 'docker run --help'.

Linux mary 5.14.3-arch1-1 #1 SMP PREEMPT Sun, 12 Sep 2021 20:51:34 +0000 x86_64 GNU/Linux
:0
[sudo] password for o:
1
NAME="Arch Linux"
PRETTY_NAME="Arch Linux"
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/vg0-root 413G 80G 313G 21% /
QEMU emulator version 6.1.0
Copyright (c) 2003-2021 Fabrice Bellard and the QEMU Project developers
libvirtd (libvirt) 7.7.0
total used free shared buff/cache available
Mem: 15Gi 2.4Gi 11Gi 51Mi 1.4Gi 12Gi
Swap: 8.0Gi 0B 8.0Gi
12
24
crw-rw-rw- 1 root kvm 10, 232 Sep 29 23:42 /dev/kvm
total 0
drwxrwxrwt 2 root root 60 Sep 29 23:42 .
drwxrwxrwt 13 root root 360 Sep 29 23:44 ..
srwxrwxrwx 1 root o 0 Sep 29 23:42 X0
root 880 0.1 0.4 2127344 76388 ? Ssl 23:42 0:00 /usr/bin/dockerd -H fd://
o 5732 0.0 0.0 6424 2356 pts/1 S+ 23:46 0:00 grep --color=auto --exclude-dir=.bzr --exclude-dir=CVS --exclude-dir=.git --exclude-dir=.hg --exclude-dir=.svn --exclude-dir=.idea --exclude-dir=.tox dockerd
Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Get "http://%2Fvar%2Frun%2Fdocker.sock/v1.24/containers/json": dial unix /var/run/docker.sock: connect: permission denied
kvm:x:992:
libvirt:x:967:
docker:x:964:


Originally created by @obnoxiousmods on GitHub (Sep 30, 2021). ~ » docker run -it \ o@mary --device /dev/kvm \ -p 50922:10022 \ -v /tmp/.X11-unix:/tmp/.X11-unix \ -e "DISPLAY=${DISPLAY:-:0.0}" \ sickcodes/docker-osx:auto docker: unknown server OS: . See 'docker run --help'. Linux mary 5.14.3-arch1-1 #1 SMP PREEMPT Sun, 12 Sep 2021 20:51:34 +0000 x86_64 GNU/Linux :0 [sudo] password for o: 1 NAME="Arch Linux" PRETTY_NAME="Arch Linux" Filesystem Size Used Avail Use% Mounted on /dev/mapper/vg0-root 413G 80G 313G 21% / QEMU emulator version 6.1.0 Copyright (c) 2003-2021 Fabrice Bellard and the QEMU Project developers libvirtd (libvirt) 7.7.0 total used free shared buff/cache available Mem: 15Gi 2.4Gi 11Gi 51Mi 1.4Gi 12Gi Swap: 8.0Gi 0B 8.0Gi 12 24 crw-rw-rw- 1 root kvm 10, 232 Sep 29 23:42 /dev/kvm total 0 drwxrwxrwt 2 root root 60 Sep 29 23:42 . drwxrwxrwt 13 root root 360 Sep 29 23:44 .. srwxrwxrwx 1 root o 0 Sep 29 23:42 X0 root 880 0.1 0.4 2127344 76388 ? Ssl 23:42 0:00 /usr/bin/dockerd -H fd:// o 5732 0.0 0.0 6424 2356 pts/1 S+ 23:46 0:00 grep --color=auto --exclude-dir=.bzr --exclude-dir=CVS --exclude-dir=.git --exclude-dir=.hg --exclude-dir=.svn --exclude-dir=.idea --exclude-dir=.tox dockerd Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Get "http://%2Fvar%2Frun%2Fdocker.sock/v1.24/containers/json": dial unix /var/run/docker.sock: connect: permission denied kvm:x:992: libvirt:x:967: docker:x:964: -----
Author
Owner

@sickcodes commented on GitHub (Oct 1, 2021):

Looks like Docker isn't set up right.

Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Get "http://%2Fvar%2Frun%2Fdocker.sock/v1.24/containers/json": dial unix /var/run/docker.sock: connect: permission denied

what type of system are you running to have the rootfs in the location in the debug?

@sickcodes commented on GitHub (Oct 1, 2021): Looks like Docker isn't set up right. ``` Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Get "http://%2Fvar%2Frun%2Fdocker.sock/v1.24/containers/json": dial unix /var/run/docker.sock: connect: permission denied ``` what type of system are you running to have the rootfs in the location in the debug?
Author
Owner

@obnoxiousmods commented on GitHub (Oct 1, 2021):

I uninstalled all of it incl docker and just gave up but running arch linux on LUKS nvme

Sent from ProtonMail for iOS

On Thu, Sep 30, 2021 at 17:14, sickcodes @.***> wrote:

Looks like Docker isn't set up right.

Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Get "http://%2Fvar%2Frun%2Fdocker.sock/v1.24/containers/json": dial unix /var/run/docker.sock: connect: permission denied

what type of system are you running to have the rootfs in the location in the debug?


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.

@obnoxiousmods commented on GitHub (Oct 1, 2021): I uninstalled all of it incl docker and just gave up but running arch linux on LUKS nvme Sent from ProtonMail for iOS On Thu, Sep 30, 2021 at 17:14, sickcodes ***@***.***> wrote: > Looks like Docker isn't set up right. > > Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Get "http://%2Fvar%2Frun%2Fdocker.sock/v1.24/containers/json": dial unix /var/run/docker.sock: connect: permission denied > > what type of system are you running to have the rootfs in the location in the debug? > > — > You are receiving this because you authored the thread. > Reply to this email directly, [view it on GitHub](https://github.com/sickcodes/Docker-OSX/issues/350#issuecomment-931794762), or [unsubscribe](https://github.com/notifications/unsubscribe-auth/AENKN7IQAN4QEZU27U2VIG3UET4PNANCNFSM5FBR2WKQ). > Triage notifications on the go with GitHub Mobile for [iOS](https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675) or [Android](https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub).
Author
Owner

@sickcodes commented on GitHub (Oct 1, 2021):

Adding yourself to the Docker group should fix it.

@sickcodes commented on GitHub (Oct 1, 2021): Adding yourself to the Docker group should fix it.
Author
Owner

@bsautner commented on GitHub (Nov 12, 2021):

i also had to run sudo chmod 666 /var/run/docker.sock same errors that cleared it. arch linux

@bsautner commented on GitHub (Nov 12, 2021): i also had to run `sudo chmod 666 /var/run/docker.sock` same errors that cleared it. arch linux
Author
Owner

@skaldebane commented on GitHub (Jun 28, 2022):

@bsautner It works on Fedora 36!

@sickcodes Maybe you should add this to common issues?

@skaldebane commented on GitHub (Jun 28, 2022): @bsautner It works on Fedora 36! @sickcodes Maybe you should add this to common issues?
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/Docker-OSX#251