Docker-OSX icon indicating copy to clipboard operation
Docker-OSX copied to clipboard

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

Open obnoxiousish opened this issue 2 years ago • 6 comments

~ » 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:


obnoxiousish avatar Sep 30 '21 06:09 obnoxiousish

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 avatar Oct 01 '21 00:10 sickcodes

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.

obnoxiousish avatar Oct 01 '21 00:10 obnoxiousish

Adding yourself to the Docker group should fix it.

sickcodes avatar Oct 01 '21 19:10 sickcodes

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

bsautner avatar Nov 12 '21 14:11 bsautner

@bsautner It works on Fedora 36!

@sickcodes Maybe you should add this to common issues?

Skaldebane avatar Jun 28 '22 15:06 Skaldebane