Docker: Unknown Server OS #492

Closed
opened 2025-12-29 01:19:54 +01:00 by adam · 8 comments
Owner

Originally created by @vm-hacker on GitHub (Apr 16, 2023).

I saw this error, when I ran the ventura command given in the README
docker: unknown server OS: .
See 'docker run --help'.

docker run -it
--device /dev/kvm
-p 50922:10022
-v /tmp/.X11-unix:/tmp/.X11-unix
-e "DISPLAY=${DISPLAY:-:0.0}"
-e GENERATE_UNIQUE=true
-e MASTER_PLIST_URL='https://raw.githubusercontent.com/sickcodes/osx-serial-generator/master/config-custom.plist'
sickcodes/docker-osx:ventura

docker build -t docker-osx --build-arg SHORTNAME=ventura .

This is occuring across all linux distros I tried

Originally created by @vm-hacker on GitHub (Apr 16, 2023). I saw this error, when I ran the ventura command given in the README docker: unknown server OS: . See 'docker run --help'. docker run -it \ --device /dev/kvm \ -p 50922:10022 \ -v /tmp/.X11-unix:/tmp/.X11-unix \ -e "DISPLAY=${DISPLAY:-:0.0}" \ -e GENERATE_UNIQUE=true \ -e MASTER_PLIST_URL='https://raw.githubusercontent.com/sickcodes/osx-serial-generator/master/config-custom.plist' \ sickcodes/docker-osx:ventura # docker build -t docker-osx --build-arg SHORTNAME=ventura . This is occuring across all linux distros I tried
adam closed this issue 2025-12-29 01:19:54 +01:00
Author
Owner

@h113331pp commented on GitHub (Apr 17, 2023):

This is probably your docker daemon is not running.
For fast check, open another terminal and run dockerd then try again.

Edit:
before do above, just use ps command to see if your docker daemon is running or not:
ps aux | grep dockerd

@h113331pp commented on GitHub (Apr 17, 2023): This is probably your docker daemon is not running. For fast check, open another terminal and run **dockerd** then try again. Edit: before do above, just use ps command to see if your docker daemon is running or not: `ps aux | grep dockerd`
Author
Owner

@vm-hacker commented on GitHub (Apr 17, 2023):

root 1155 0.0 0.2 1742976 64796 ? Ssl 06:55 0:01 /usr/bin/dockerd -H fd:// --containerd=/run/containerd/containerd.sock
brain 12665 0.0 0.0 11740 2704 pts/2 S+ 10:21 0:00 grep --color=auto dockerd

@vm-hacker commented on GitHub (Apr 17, 2023): root 1155 0.0 0.2 1742976 64796 ? Ssl 06:55 0:01 /usr/bin/dockerd -H fd:// --containerd=/run/containerd/containerd.sock brain 12665 0.0 0.0 11740 2704 pts/2 S+ 10:21 0:00 grep --color=auto dockerd
Author
Owner

@vm-hacker commented on GitHub (Apr 17, 2023):

systemctl status docker returns

● docker.service - Docker Application Container Engine
Loaded: loaded (/lib/systemd/system/docker.service; enabled; vendor preset: enabled)
Active: active (running) since Mon 2023-04-17 06:55:29 +0530; 3h 26min ago
TriggeredBy: ● docker.socket
Docs: https://docs.docker.com
Main PID: 1155 (dockerd)
Tasks: 14
Memory: 103.7M
CPU: 1.412s
CGroup: /system.slice/docker.service
└─1155 /usr/bin/dockerd -H fd:// --containerd=/run/containerd/containerd.sock

@vm-hacker commented on GitHub (Apr 17, 2023): systemctl status docker returns ● docker.service - Docker Application Container Engine Loaded: loaded (/lib/systemd/system/docker.service; enabled; vendor preset: enabled) Active: active (running) since Mon 2023-04-17 06:55:29 +0530; 3h 26min ago TriggeredBy: ● docker.socket Docs: https://docs.docker.com Main PID: 1155 (dockerd) Tasks: 14 Memory: 103.7M CPU: 1.412s CGroup: /system.slice/docker.service └─1155 /usr/bin/dockerd -H fd:// --containerd=/run/containerd/containerd.sock
Author
Owner

@h113331pp commented on GitHub (Apr 17, 2023):

OK, It seems the docker daemon is running well.
Did you also setup your user account is in the group docker?
https://docs.docker.com/engine/install/linux-postinstall/

Or you just use "sudo" everytime when call "docker run -it ..."?

@h113331pp commented on GitHub (Apr 17, 2023): OK, It seems the docker daemon is running well. Did you also setup your user account is in the group docker? https://docs.docker.com/engine/install/linux-postinstall/ Or you just use "sudo" everytime when call "docker run -it ..."?
Author
Owner

@sonicdevo commented on GitHub (Apr 24, 2023):

I, too and running into the same error with the same troubleshooting results.

EDIT: Solved. Looks like I neglected to finish the post-install instructions. More clearly outlined here: https://stackoverflow.com/questions/48957195/how-to-fix-docker-got-permission-denied-issue

@sonicdevo commented on GitHub (Apr 24, 2023): I, too and running into the same error with the same troubleshooting results. EDIT: Solved. Looks like I neglected to finish the post-install instructions. More clearly outlined here: https://stackoverflow.com/questions/48957195/how-to-fix-docker-got-permission-denied-issue
Author
Owner

@sickcodes commented on GitHub (May 7, 2023):

Is this snap docker on Ubuntu? If so, kill it, and install the real one.

@sickcodes commented on GitHub (May 7, 2023): Is this snap docker on Ubuntu? If so, kill it, and install the real one.
Author
Owner

@vm-hacker commented on GitHub (Jun 20, 2023):

It's not the snap, it's the docker.io package

@vm-hacker commented on GitHub (Jun 20, 2023): It's not the snap, it's the docker.io package
Author
Owner

@vm-hacker commented on GitHub (Jun 20, 2023):

I found a solution, sorry I just ignored the step of creating a docker user group and then logging out
https://docs.docker.com/engine/install/linux-postinstall/

@vm-hacker commented on GitHub (Jun 20, 2023): I found a solution, sorry I just ignored the step of creating a docker user group and then logging out https://docs.docker.com/engine/install/linux-postinstall/
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/Docker-OSX#492