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

[Error] x11docker report error of no docker binary even when --install #470

Closed
CicadaSeventeen opened this issue Oct 17, 2022 · 5 comments
Closed
Labels

Comments

@CicadaSeventeen
Copy link

x11docker --install tells me docker backend not found.
I do not have docker but only podman. However, I do not think installing needs to detect which backend to use. To detect Installermode should be move to the front of check_backend.

BTW, I remember that old version of x11docker can fall back to podman if only podman is installed. Why this feature is abandoned?

@CicadaSeventeen
Copy link
Author

I have been revising the codes. Only thing needed here is to make check_backend lower. I am also trying to introduce a flag to disable Installermode. However, codes of check_backend is hard for me to understand why cannot fallback to podman.

BTW, you are expert in bash. It takes me some time to understand half of the codes of x11docker and it is incredible for me.

@CicadaSeventeen
Copy link
Author

CicadaSeventeen commented Oct 18, 2022

I have solved the problem of --install in my fork . but I will not check for the backend fallback because I am afraid to destroy your bash. It is so delicate .

@mviereck mviereck added the bug label Oct 19, 2022
@mviereck
Copy link
Owner

Thank you! I'll look closer at this.

@mviereck
Copy link
Owner

The issue is fixed now.

@CicadaSeventeen
Copy link
Author

The issue is fixed now.

Not really. Now if I use x11docker 7.60 in system with podman only, it still can not detect podman and will try using backend=docker and then failed. I still have to manually add backend=podman

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

No branches or pull requests

2 participants