OS: Fedora Silverblue 42
Hello guys, I am trying to run appwrite via Docker using the following command in Fedora Silverblue. But I’ve tried first to use it with podman
instead of docker
podman run -it --rm \
--volume /var/run/docker.sock:/var/run/docker.sock \
--volume "$(pwd)"/appwrite:/usr/src/code/appwrite:rw \
--entrypoint="install" \
appwrite/appwrite:1.6.2
But I get this error message:
Error: statfs /var/run/docker.sock: no such file or directory
I’ve also tried to adapt it and use like this:
podman run -it --rm \
--volume $XDG_RUNTIME_DIR/podman/podman.sock:/var/run/docker.sock \
--volume "$(pwd)"/appwrite:/usr/src/code/appwrite:rw \
--entrypoint="install" \
appwrite/appwrite:1.6.2
But now I have a permission error:
Error response from daemon: make cli opts(): making volume mountpoint for volume /var/run/docker.sock: mkdir /var/run/docker.sock: permission denied
After this, I’ve tried a new approach by doing a git clone of the appwrite and then running the podman compose up
from inside the root folder, but after all the containers will build and run, I will have this error:
[openruntimes-proxy] | [Error] Type: Exception
[openruntimes-proxy] | [Error] Message: Executor "exc1" went offline: Code: 0 with response "" and error error: Could not resolve host: exc1
[openruntimes-proxy] | [Error] File: /usr/local/app/http.php
[openruntimes-proxy] | [Error] Line: 207
I’ve also tried to follow this tutorial and use the podman-remote
in combination with Docker
to run it inside a toolbox
, but I didn’t get anywhere because I in this case I will get the following error (or based on some other things that I’ve tired inside the toolbox
I will get one of the errors above):
Error response from daemon: container create: statfs /var/run/docker.sock: permission denied
Can any of you please help me to understand how to fix this and probably run this Docker
appwrite?
NOTE: I’ve also tried to use Compose instead of Podman
, and I still have the same errors with nothing having changed.