-
Notifications
You must be signed in to change notification settings - Fork 379
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
Error response from daemon: Container XXX is not running [snap] #191
Comments
Thank you for the report! Unfortunately, I have no idea yet what is going wrong. The same command works well here. I'll think about it.
The container starts, x11docker gets a container id, but than it immediatly stops without further messages. Do I see right that you access the server over ssh, but the server has its own monitor? |
Could you please run some tests for debugging?
This should show a valid PID. You might need to run the
While the X server is visible, run |
Thanks for the fast answer! You're right. I have the Intel NUC connected to my TV and use SSH to control it. Actually, I want to run the Kodi docker image. But it throws the same error as the xfce4-terminal. I thought that the xfce4-terminal would reduce the complexity of finding the right spot. Docker Version: Checks for PID 1:
Check |
It seems you did the check on another computer, probably your local client instead of the Intel NUC. Am I right? I just think so because you already had a test run with
That looks valid. So the container has another reason to stop immediately.
Odd. Can you test the command on your local machine / without ssh?
I am still a bit out of ideas, but I am sure we'll find something. Blind guess: Try with |
No, actually I just wanted to run a clean test, so before I prune docker system to make sure everything is running like the first time. But I definitely ran on the right device (Intel NUC) via SSH
I will find a keyboard and try it directly on the device (without ssh)
I’ll try it later and send the results |
That is nice! I somehow doubt that ssh causes the issue, but currently I cannot exclude it.
Ok! Sorry for questioning this, I just needed to be sure. Please run also a check running an executeable from host instead of a Docker container, e.g.:
Another check: Docker container without X:
|
Unfortunately, nothing worked :(
The |
Sorry for my delay in this. I'll set up a VM to check this out.
You could also try the latest beta version ( |
Still didn't work. But I hope that the log now show something:
Output: https://pastebin.com/ameijuUe |
I've set up a VM with Ubuntu server 18.04 and installed packages I found and fixed one minor bug: There was a timeout error while pulling images in x11docker. x11docker terminated, but Docker continued to pull the image. It is fixed now, x11docker waits until the pull is ready. There is one difference: package |
I tried to update docked, but it says that this is the latest version. x11docker updated correctly.
It was installed during the installation of Ubuntu Server. Looks like docker was installed using Snappy. I might try to install Docker via apt, but I think it’s a workaround. We should try to make x11docker work also with the Snappy docker version... |
ok, the key is somewhere in snap / snappy. I've removed package I did some first checks for possible failing commands, but with no success so far. I'll investigate further. |
Sorry to give this info just now... I didn't realize that Ubuntu didn't use apt to install |
Some partial success! This one works:
It seems to me that snap / snappy does some containerization that disturbs access to some host files. Overall I'd say that this is just a bad integration done by snap / snappy. If there is a way to detect that docker is installed with snap or snappy, x11docker could show a warning and give a hint to use
No worries. Why should one think that the package manager is the reason for an issue? |
Worked! Amazing!!! I really appreciate your help and wish to solve this problem!
Yes, it's the same as yours: I have just one problem left, but I think it's not related to x11docker, but to the image:
|
Great! :-)
What means CEC? As for audio: Try I am not sure if In the log you are using |
HDMI-CEC. I can't control kodi with my TV remote.
Thanks for the hints... I didn't try too much yet, but the image is working fine. I'll try the audio soon. Edit: |
Pulseaudio over TCP should likely work. I doubt that it is related to the CEC issue. You can check with:
In tab "Hardware" there is a button "Sound check Pulseaudio". There is also a "GPU" tab. It helps to check out GPU acceleration.
It may be a good idea to ask @ehough first, maybe he already has some experience in this. This may be worth a ticket in its docker-kodi repository. |
Fix NVIDIA driver detection with --cap-default #198
In latest commit x11docker detects Docker in |
I've opened a new ticket #203 on how to share a CEC device. Could you please have a look? |
Didn't work. I'm running the version 6.4.0. |
The latest commit is in the master branch. Please update with |
Closing due to inactivity. |
Environment:
Intel NUC NUC7i5BNK - Ubuntu Server 18.04 - Xorg installed
Command:
sudo x11docker --xorg x11docker/xfce xfce4-terminal
Log:
https://pastebin.com/8nsJYGFf
Behavior:
During the command execution I can see a gray screen with an black X in the middle of the screen. After the command fail, the console login screen is shown.
The text was updated successfully, but these errors were encountered: