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

Doesn't work with podman. #25

Open
Alastor-Ripley opened this issue Aug 23, 2024 · 15 comments
Open

Doesn't work with podman. #25

Alastor-Ripley opened this issue Aug 23, 2024 · 15 comments
Assignees
Labels
bug Something isn't working

Comments

@Alastor-Ripley
Copy link

Can't use podman instead of docker despite having setup docker compatibility options and set env variables to redirect docker calls to podman, but whenever I have tried to run the installer script, I always get an error saying it can't find docker.

To Reproduce
Running either the quick script or the manual setup as instructed for Linux from the subsystem website

Expected behavior
The installer would send a command to docker which podman should receive and perform.

Host Info:

  • OS: Garuda-Linux
  • Version: newest, rolling release
  • Subsystem Manager Version: attempted just yesterday as of writing this so I'm assuming latest.

Additional context
Not sure if I've setup the docker cli compatibility 100% correctly, however whenever I've run other docker commands to install an image (the one for the standalone local-ai for example) it works just fine using podman as if it were docker.

@Alastor-Ripley Alastor-Ripley added the bug Something isn't working label Aug 23, 2024
@lunamidori5
Copy link
Owner

@Alastor-Ripley I will get working on checking to see if its the docker libs we use or something as they claim to work with podman... Thank you for this report!

@lunamidori5
Copy link
Owner

@Alastor-Ripley sorry for the delay we had a server outage and am working on fixing that, deeply sorry for the delay

@Alastor-Ripley
Copy link
Author

Oh no need to apologize at all, I understand. I've been told that I have the patience of a saint lol. I'm definitely not a saint but the patience part is true (unless I'm driving, then my patience goes out the window it seems) Thank you for even looking into it

@lunamidori5
Copy link
Owner

@Alastor-Ripley at last our servers are back up and running, can you post some docs on podman and Ill do some reading <3

@Alastor-Ripley
Copy link
Author

@lunamidori5
Copy link
Owner

okay we are working on some new tech to remove the need and use of docker from the program, does podman support the docker sock? - @Alastor-Ripley

@Alastor-Ripley
Copy link
Author

Alastor-Ripley commented Sep 9, 2024

i believe so yes, here's the deocumentation on docker/podman compatability, i think it mentions that somewhere in there.
https://podman-desktop.io/docs/migrating-from-docker
and here:
https://github.com/containers/podman/blob/main/docs/tutorials/socket_activation.md

@lunamidori5
Copy link
Owner

@Alastor-Ripley can you please try this

Change the docker to your podman command

docker run -v /run/user/1000/podman/podman.sock:/var/run/docker.sock -it lunamidori5/pixelarch:subsystem /bin/bash

Once in this shell type sudo subsystem_manager and just tell me if it offers to install the subsystem

DO NOT INSTALL THE SUBSYSTEM YET

@Alastor-Ripley
Copy link
Author

yes it did

@lunamidori5
Copy link
Owner

@Alastor-Ripley cool Ill start work on a real fix then sadly I am going on a trip in under 6 days... =( but know Ill be work ing on this!

@lunamidori5
Copy link
Owner

The podman sock seems to work from my testing, in 2.0 it should not be hard to just switch it in the config file, sorry for the slowness @Alastor-Ripley

@Alastor-Ripley
Copy link
Author

Oh, ok cool, I'll have to try again and see if I was doing something wrong lol. No worries at all, hope you had a good trip and thanks for getting back to me.

@lunamidori5
Copy link
Owner

I am getting the groundwork laid for a better ver 2 that will be fully self contained in the docker image (containerd friendly) so this way no matter what sock the system runs or os, it can use Midori AI's tooling and everyone always has all the tools. I hope that is okay <3 @Alastor-Ripley

@Alastor-Ripley
Copy link
Author

sounds good to me

@lunamidori5
Copy link
Owner

@Alastor-Ripley I think v2 is ready for using with podman, can you test it, you will need to edit the config file and all that jazz

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants