mirror of
https://github.com/sickcodes/Docker-OSX.git
synced 2026-01-11 21:10:25 +01:00
Docker: Unknown Server OS #492
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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
@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@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):
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
@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 ..."?
@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
@sickcodes commented on GitHub (May 7, 2023):
Is this snap docker on Ubuntu? If so, kill it, and install the real one.
@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):
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/