-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
🚀 Feature: running in Podman - a writeup how to go about it #2463
Comments
I'm working out of memory here but these are what I remember:
It was this moment, I knew - better to ask I have a feeling and this is just a gut feeling, that someone who is IN the stack and knows what they're doing would probably get this sorted within a few hours as things are not far off |
@daniel-v Thanks for reaching out. I think @kodumbeats would be best to help you with this since afaik, he's played around a bit with podman before. |
Would love to have this as well. Feel free to tag me if you need some testing. |
I'm on Fedora 35 and the And I encountered a problem (which seemed to be related to SELinux) which makes the whole installation not working ("Permission Denied" inside the container when accessing docker.sock. Disabling SELinux labling may help but I didn't try.) switching to docker anyway |
@christyjacob4 @maikeriva @daniel-v I am able to run containers rootless using podman, but having issues in connecting to them on local host via custom port say "4003/4004" other than default port, with traefik container giving error: I think the problem is with this line, not sure. What are the options available for: If I run it using default ports
and I chose the manual route and changed the path of volumes in After that I run command on terminal to create user level podman socket: I am using |
I haven't been using Appwrite for a few months, but I would expect that. Ports below 1024 are privileged on Linux. I think it could possibly be solved by assigning the user executing podman to a group with enough privileges to operate them. Not sure which would be the correct one though. For what concerns SELinux in systems which have it, adding |
Thanks for the reply. But I expect custom ports like 8000 or 8001 to work than using default ports , which are supported as per appwrite documentation. Also when using recommended method, it asks to assign custom port other than default. So, I guess this should work for custom ports. As mentioned earlier, I am running podman as rootless, and I have been able to run appwrite rootless, but this port issue is causing problem which I am unable to connect to. All the containers created by appwrite are running fine, but I am unable to connect to the assigned port. Running with privileged ports defeats the whole purpose of being rootless. I have successfully run appwrite even using recommended method but have to run the command with sudo:
But running container as root is dangerous. So it is not feasible. I am trying to sort this port issue as this is the only hurdle in running appwrite as rootless, hope so. |
I am getting this error in appwrite container:
I can see that mariadb container has access problems: |
🔖 Feature description
I would love to see AppWrite run with Podman - I experimented with it and there seem to be some hickups in the installation process and then the running phase.
I'll describe my experiences in the first comment.
🎤 Pitch
👀 Have you spent some time to check if this issue has been raised before?
🏢 Have you read the Code of Conduct?
The text was updated successfully, but these errors were encountered: