Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting "docker: unknown server OS: ." #1

Open
dragoneye65 opened this issue Oct 12, 2020 · 2 comments
Open

Getting "docker: unknown server OS: ." #1

dragoneye65 opened this issue Oct 12, 2020 · 2 comments

Comments

@dragoneye65
Copy link

Hi,

My system is 5.4.0-48-generic x86_64 with OS "Ubuntu 20.04.1 LTS (Focal Fossa)"
Followed the given install procedure:
$ git clone https://github.com/bluecherrydvr/bluecherryclient-docker.git
$ sudo docker build -t bluecherry-client .
Sending build context to Docker daemon 142.3kB
Step 1/8 : FROM ubuntu:18.04
18.04: Pulling from library/ubuntu
171857c49d0f: Pull complete
419640447d26: Pull complete
61e52f862619: Pull complete
Digest: sha256:646942475da61b4ce9cc5b3fadb42642ea90e5d0de46111458e100ff2c7031e6
Status: Downloaded newer image for ubuntu:18.04
---> 56def654ec22
Step 2/8 : RUN apt-get update && apt-get install -y wget gnupg libssl1.0-dev
---> Running in 7df34ec6b4c2
[snip][snip][snip]

$ sudo chmod +x run.sh ; ./run.sh
non-network local connections being added to access control list
docker: unknown server OS: .
See 'docker run --help'.

Now what? :-)
Regards

@quixand
Copy link

quixand commented Feb 27, 2022

the sudo is not applied to the run.sh command due to the ; semicolon.
try
$ sudo chmod +x run.sh
$ sudo ./run.sh

@quixand
Copy link

quixand commented Feb 27, 2022

I also disabled bunch of device mappings that were throwing errors
I'm running linux mint 20.2
--device=/dev/dri/card0:/dev/dri/card0
--device=/dev/dri/renderD128:/dev/dri/renderD128
--device=/dev/snd/timer:/dev/snd/timer
--device=/dev/snd/pcmC0D0p:/dev/snd/pcmC0D0p
--device=/dev/snd/controlC0:/dev/snd/controlC0
--device=/dev/snd/seq:/dev/snd/seq \

I also added a mapping for the config file so I can mess around with the containers without having to rebuild the container
--volume="$home/system/bluecherry_dvr/bluecherryclient-docker/config/bluecherry:/root/.config/" \

also running the container this way pushes all the STDOUT to the session, so to hide that I just start the container using a bash alias
alias bcclient="xhost +local:root;sudo docker start 0cf4bef5d17e"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants