I'm quite new to Linux and currently using CachyOS. I've been trying to install Open WebUI following the guide from their GitHub page, but I'm running into an issue. Whenever I try to execute Docker, I get this error: "/usr/local/bin/docker: cannot execute binary file." I suspect that it might be due to the command files being stored in root, making it inaccessible for Docker? Any assistance would be greatly appreciated!
I found a solution in the comments: I had been using the wrong binaries. For anyone else facing this, make sure to use the x86_64 binaries for CachyOS instead of the aarch ones. Thanks to everyone who helped!
3 Answers
Start with making sure Docker is installed, but it seems like you've got that covered. If you still can't run the command, we might need to look into the binaries you're using and if they match your system architecture.
Before anything, check if Docker is actually installed by running `which docker`. If it returns nothing, you'll need to install it. It's also a good idea to create a user specifically for running Docker containers and add that user to the Docker group, so you don’t need to use `sudo` every time.
It sounds like Docker wasn't installed correctly. Can you share how exactly you attempted to install it? Just a heads-up, CachyOS isn't officially supported for Docker, so it may be a bit tricky to get it running. Make sure all installation steps were followed properly!
I noticed you mentioned it isn't officially supported, but isn't that the case for a lot of software? Generally, distros handle things differently, right?

I ran the command, and it shows it’s located at /usr/local/bin/docker, so it is installed. I even added myself to the Docker group but I'm still facing issues.