It is a shared library issue, which could be possibly solved by installing the dependency, but Docker Compose v1 is not supported anymore. You should not even try to install it. Use the docker compose plugin for Docker Compose v2. It is the “docker-compose-plugin” package.
Hi, Thanks for the recommendation. Am I facing due to using v1 version? Although on our different server, this command (docker-compose --version) worked fine.
I’m just saying since v1 is not supported, I wouldn’t spend much time on fixing it. If it i a missing dependency, it is not hard to imagine that it exists on another machine. Compose v2 supports the old compose files and will ignore the version keyword. The difference is that you would use docker compose commands not docker-compose commands.
I wanted to say no and I still don’t understand why it would be, but according to stack overflow, it does.
Where would you change it? I don’t see why you would mount the tmp to a different folder. If you don’t need the mount, don’t mount it. But I still think you should use Docker Compose v2.
After some investigation for noexec , I suspect this might be related to the noexec option set on my /tmp directory (Docker-compose needs to load some shared libraries from /tmp). Here’s the relevant output from cat /etc/fstab: