AnActOfCreation@programming.dev to Selfhosted@lemmy.worldEnglish · 4 months agoWhy You Should Self-Host Everythingdev.toexternal-linkmessage-square163fedilinkarrow-up1440arrow-down120
arrow-up1420arrow-down1external-linkWhy You Should Self-Host Everythingdev.toAnActOfCreation@programming.dev to Selfhosted@lemmy.worldEnglish · 4 months agomessage-square163fedilink
minus-squarePyrosis@lemmy.worldlinkfedilinkEnglisharrow-up1·3 months agoThat doesn’t make any sense to me. It can be installed directly from pacman. It may be something silly like adding docker to your user group. Have you done something like below for docker? Update the package index: sudo pacman -Syu Install required dependencies: sudo pacman -S docker Enable and start the Docker service: sudo systemctl enable docker.service sudo systemctl start docker.service Add your user to the docker group to run Docker commands without sudo: sudo usermod -aG docker $USER Log out and log back in for the group changes to take effect. Verify that Docker CE is installed correctly by running: docker --version If you get the above working docker compose is just sudo pacman -S docker-compose
minus-squarecows_are_underrated@discuss.tchncs.delinkfedilinkEnglisharrow-up1·3 months agoI didnt start docker and didn’t add it to my user group. Maybe this will fix it.
minus-squarecows_are_underrated@discuss.tchncs.delinkfedilinkEnglisharrow-up1·3 months ago sudo pacman -S docker-compose I did all the steps you mentioned and now it works(at least if use sudo to run the commands).
That doesn’t make any sense to me. It can be installed directly from pacman. It may be something silly like adding docker to your user group. Have you done something like below for docker?
sudo pacman -Syu
sudo pacman -S docker
sudo systemctl enable docker.service sudo systemctl start docker.service
sudo usermod -aG docker $USER
Log out and log back in for the group changes to take effect.
Verify that Docker CE is installed correctly by running:
docker --version
If you get the above working docker compose is just
sudo pacman -S docker-compose
I didnt start docker and didn’t add it to my user group. Maybe this will fix it.
I did all the steps you mentioned and now it works(at least if use sudo to run the commands).