Truble with Docker Compose

ERROR: Version in "./docker-compose.yml" is unsupported Hmmm docker-compose version 1.25.0, build unknown.
25 Replies
Alex Tran
Alex Tran•2y ago
Are you in the directory with docker-compose file? which command did you try? and how did you install docker?
MarcVanDamme
MarcVanDammeOP•2y ago
Got it by running sudo apt install -y docker-compose Tried sudo apt install -y docker-compose
Alex Tran
Alex Tran•2y ago
Docker Documentation
Install Docker Engine on Ubuntu
Jumpstart your client-side server applications with Docker Engine on Ubuntu. This guide details prerequisites and multiple methods to install.
Alex Tran
Alex Tran•2y ago
You should use this to install docker
Alex Tran
Alex Tran•2y ago
Also there is a guide from the community here is pretty helpful as well https://swag.industries/install-immich-in-three-steps/
Swag Industries
Install immich in three steps
Quick tutorial to run immich.app, the free and open source google photos alternative. This article is intended to those who don't have much experience using docker. Follow these three steps to have a working immich.app server. Requirements: Ubuntu with root access, internet access, open ports and some storage.
MarcVanDamme
MarcVanDammeOP•2y ago
Ah cool, do you know how i remove the docker-compose i have installed atm?
Alex Tran
Alex Tran•2y ago
sudo apt-get remove docker-compose
Gabee
Gabee•2y ago
It will update automatically
MarcVanDamme
MarcVanDammeOP•2y ago
Now i need to create a new dir in /root/immich, but how do i find /root/? Okay i created /root/immich but can't copy the files to the location. Ahhh sudo -i then run Nautilus place files done Damn linux / Zorin is complicated
Alex Tran
Alex Tran•2y ago
Are you very green to linux? it takes sometimes to get used to then it will be muscle memory šŸ™‚
MarcVanDamme
MarcVanDammeOP•2y ago
Yea, i'am šŸ™‚ But i'am up for it, just need some help. mauli@mauli-desktop:/immich$ docker-compose up -d Command 'docker-compose' not found, but can be installed with: sudo snap install docker # version 20.10.24, or sudo apt install docker-compose # version 1.25.0-1 See 'snap info docker' for additional versions. Now i get this, and i did run curl -s https://get.docker.com | bash Mauli is my sons fav name for a teddy he have šŸ™‚ Guess what immich is gonna be used for šŸ˜›
Alex Tran
Alex Tran•2y ago
with the new docker engine, composed in included so you can use docker compose up -d
MarcVanDamme
MarcVanDammeOP•2y ago
mauli@mauli-desktop:/immich$ docker compose up -d permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Get "http://%2Fvar%2Frun%2Fdocker.sock/v1.24/containers/json?all=1&filters=%7B%22label%22%3A%7B%22com.docker.compose.config-hash%22%3Atrue%2C%22com.docker.compose.project%3Dimmich%22%3Atrue%7D%7D": dial unix /var/run/docker.sock: connect: permission denied
Alex Tran
Alex Tran•2y ago
Docker Documentation
Linux post-installation steps for Docker Engine
Find the recommended Docker Engine post-installation steps for Linux users, including how to run Docker as a non-root user and more.
Alex Tran
Alex Tran•2y ago
please follow these steps
MarcVanDamme
MarcVanDammeOP•2y ago
Still get that error. is it possible to install immich in a more simple way? Tried a reboost Reboot
MarcVanDamme
MarcVanDammeOP•2y ago
No description
MarcVanDamme
MarcVanDammeOP•2y ago
You sir! Are Awesome!
Alex Tran
Alex Tran•2y ago
this is just installing a tool in Linux, not really related to Immich šŸ™‚ and this is the simplest way to install Immich or any selfhosting services you find šŸ˜„
MarcVanDamme
MarcVanDammeOP•2y ago
Guess, i have a learning curve to beat šŸ™‚ Anyway one can donate to immich?
Alex Tran
Alex Tran•2y ago
Thank you and you can find the method in the right handside in the github repo here https://github.com/immich-app/immich yeah like everything new, I hope you enjoy it and find Linux not too hard to beat
MarcVanDamme
MarcVanDammeOP•2y ago
Okay, Ive installed Immic, and i have opend up 2283 and can see that immich is using the correct drive for storage. How do i secure the port 2283 in linux / firewall
Alex Tran
Alex Tran•2y ago
You are not expose this to the internet, meaning using locally so there is no secure needed here
MarcVanDamme
MarcVanDammeOP•2y ago
Quick question, does docker / immich automatily start when i turn on the pc?
Alex Tran
Alex Tran•2y ago
depends on the environment but most likely yes. You can quickly confirm this by restarting your pc

Did you find this page helpful?