-
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
Docker binary for init missing in openSUSE. #23
Comments
The core error message is It seems to me you have an old docker version without option For your images you will probably have to set option |
# 01.03.2018 V3.9.3 --tini: show warning for outdated docker versions without option --init and fall back to --no-init, issue #23 # 26.02.2018 --xtest: new option to enable X extension XTEST. Default for --xdummy, --xvfb, --xpra # --pulseaudio with --net: fallback to --alsa, disabling --pulseaudio
I've added a check in version 3.9.3 whether docker provides option |
It doesn't appear older version of docker is the problem. |
Strange; your docker version supports option
I don't think so now. And can you try to run a docker image with option
and show me the output if it fails? |
Output of |
I have the new version now btw. |
Can you please show me the output of
? The error message from your lightworks image could also mean that it has no CMD specified or the command is just not in |
working on it, but it is downloading a lot of things (I don't have the lxde image) |
Output of |
This is the Dockerfile of the lightworks image:
|
ok, I am building the lightworks image, will take a while, too. :-) Did pcmanfm from lxde image run well? The logfile looks sane and successfull. |
What is pcmanfm? |
pcmanfm is the file manager of lxde that you have started with |
oh yeah, I do not know how it is supposed to look normal, but it looked like a normal file manager to me. |
Some OS information:
|
My image build is ready and lightworks runs fine :-). Though, for option Give it a try with I am running debian 9. In a virtual machine I have openSUSE 42 LEAP, currently running an update over 500MB ... I will try there, too. |
Nope, still the same error. |
Hm. Does it also fail with |
It works, wait, I'll try to look around. |
So, I can't login. It says "Local MI read error." |
I'm going to have to leave my computer in a while, but I still have a few minutes. I'll be back at 13:00 GMT. |
You have this in your dockerfile:
This will not be regarded by x11docker as it runs the container as user We can have a look tomorrow again. |
Also, can I have like a mounted project folder or something? |
Yes, with option |
It gives |
Does the command more than creating a user with additional groups audio and video and create a home folder? If not, it should be ok to just run
Than you run the container as user jan with groups audio and video and a persistant home folder in |
Yes, tried the latest version, still acted the same. No output. Just exits after a few seconds with 0.
No idea. Created it manually, worked. |
Odd. Runs well in my OpenSUSE VM. Could you please run with |
Also, is there a way of making a (sym)link to a folder in my home to lightworks' home? Like for instance ~/Videos to ~/x11docker/lightworks/Videos? It doesn't work with a normal symlink, because the namespaced filesystem can't follow it. (At least I would think it works in this way?) |
Symlinks on host are difficult, docker does not handle that well. The better way is to use |
Sorry didn't see your message.
|
Odd again ...
I have just uploaded a new version that deletes |
|
The same error appears even with |
I did some minor syntax changes, one of them may be the key.
to
(There have been two unneccessary quotations). Can you try again? |
x11docker-gui output of kaptain code: https://pastebin.com/y3Z90k2m
That was the only output of x11docker-gui when I ran it before. |
Thank you for the code! Now I have installed openSUSE Tumbleweed in a VM, too. I still cannot reproduce the error neither on openSUSE 42 LEAP nor on Tumbleweed, neither with image Only one possibility: Do you run x11docker-gui with the kaptain rpm package or with image
If you are using the kaptain rpm package, you can try to deinstall it and use the image instead. |
I've included a better check for |
I'm not sure if I have kaptain at all... Is that even possible? So best
version is from docker?
Dne so, 10. 3. 2018 15:00 uživatel mviereck <[email protected]>
napsal:
… Thank you for the code!
Now I have installed openSUSE Tumbleweed in a VM, too.
I still cannot reproduce the error neither on openSUSE 42 LEAP nor on
Tumbleweed, neither with image x11docker/kaptain nor with rpm package
kaptain. Also tested with cs_CZ.UTF-8 locale. All tested with your
kaptain code you provided above.
Only one possibility: Do you run x11docker-gui with the kaptain rpm
package or with image x11docker/kaptain? Maybe you have an older image; I
made some changes in it recently for better utf8 locale support. You can
update the kaptain image with:
docker pull x11docker/kaptain
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#23 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AVXGW5cIe_7Fk16SE_3wl6gujXmeIsLMks5tc9xmgaJpZM4SXRr0>
.
|
:) If you are not sure, than you don't have it. It is not in openSUSE repository, but I provide it for manual installation: https://github.com/mviereck/kaptain
The best one is one that works on your system - try to update the image, if that does not help, try out the rpm package. |
Sorry, I used Gmail to reply and it automatically added this. It's the usual "sometime yesterday insert name wrote:", just in Czech as you probably have figured. |
What actually is kaptain anyway? |
kaptain is a tool to create a GUI with a simple script. Usually, GUIs are using GTK or QT or something else to create a GUI, but need a language like C or Python. For bash there is nothing to create a GUI; but kaptain allows me to write a kaptain script that creates a GUI with QT. So I don't need to learn C or Python. The code you provided me is a kaptain script, created by x11docker-gui. |
Installed docker image, did nothing, tried to install rpm package, got this:
|
Surprise ... it seems Tumbleweed reintroduced I am interpreting the message that you have package |
yep (The “i” should mean it's installed) More detailed output:
|
!?! How can I enable the KDE3 repo in Tumbleweed? I could check out that kaptain version and maybe reproduce the error. Can you remove the package without loosing dependencies you would like to keep? |
No. At least I haven't noticed yet. But really, no.
I am not aware of it being enabled... I guess you could try this, but I have no actual idea how it originally got to my computer. I am kinda confused now. It isn't in the list of repos on my system either. Weird. |
Finally I can reproduce your error ... The kaptain binary is in I may try to fix the issues with that kaptain version. Meanwhile, you could remove kde3-kaptain and try out kaptain image or my kaptain rpm. |
I've checked kde3-kaptain. I fixed the "Parse error after line xyz" bug (an array with more than 94 entries failed, now just reducing it to 1 default entry). But the next error appears, some memory allocation error. It seems kaptain 0.72 is not able to handle my quite big x11docker-gui-script. I won't try to fix that, too. Now x11docker-gui checks the version of kaptain and shows a warning for 0.72. Now it gives at least a message instead of failing silently. |
Ok, now a passable workaround: x11docker-gui checks version of kaptain. For version 0.72 from KDE:KDE3 repo it shows a warning and uses image |
Good, removed kde3-kaptain and it used the docker image and everything is working. At least I hope so. |
A summarization about missing For unknown reasons, some docker packages are missing the init binary My installation from docker repository shows:
Current solutions to get
|
The text was updated successfully, but these errors were encountered: