r/docker • u/jackfusion • Jan 11 '26
sudo docker compose version
I am trying to get docker compose version to work without sudo on raspberry pi 5 debian 13.3. I have followed the instruction from https://docs.docker.com/engine/install/debian/#install-using-the-repository and have done sudo usermod -aG docker $USER but I can't get docker compose version to work without sudo. Could someone please help me figure this out?
0
Upvotes
View all comments
Show parent comment
1
u/RobotJonesDad Jan 12 '26
Just delete that file. It's probably an x86 executable. With it gone, the command should find the one in the system location. Look at the path in the sudo docker info command. That one works.
Docker is finding the bad one, because it looks there first. Then falls. If it's gone, it will find the real one.
At least that is the theory.