I install it by pip, and code as follow:
pip install docker-compose
chmod a+rx /usr/local/bin/docker-compose
so, please tell me how can I do?
same error
same error
how to do?
Same ere
same error
Related to #1135?
Note that the same error occurs if the docker-compose is corrupted (e.g., a network error when downloading via curl).
Cross-check that the sha265sum of the file is matching the ones listed: https://github.com/docker/compose/releases. If not, redownload and replace the corrupted file.
i met this problem too and i finally solved this by downloading docker-compose with the
docker-compose-Linux-x86_64 rather than by curl command.
I ran into this problem with a completely different project (MIT App Inventor). The TL;DR is that the way PyInstaller builds its executables makes them break if they're strip
ped or if prelink
runs against them. This was supposed to be addressed here, but in the mean time, you can drop a file in /etc/prelink.conf.d/
with the contents of -b /path/to/docker-compose
and that should keep prelink from mangling it.
same error
Same error. Download using curl not working. So I just followed as @armoour commented. Now it is working fine.
docker-compose
I see this is an ancient issue, but since it doesn't follow the template there is not enough information in either the original post or all the "same" posts to make progress, therefore I am closing, if you are still have problems then please open a new issue and provide all of the information requested by the "Bug Report" template you will be presented with.
download from https://github.com/docker/compose/releases don't use curl
rename file as docker-compose and place in /usr/local/bin/
provide rx permission to file
and check docker verison
Solved with this: sudo curl -L "https://github.com/docker/compose/releases/download/1.25.3/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
i met this problem too and i finally solved this by downloading docker-compose with the
docker-compose-Linux-x86_64 rather than by curl command.
This did not work for me either.
Solved with this: sudo curl -L "https://github.com/docker/compose/releases/download/1.25.3/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
This doesn't work for me on ubuntu
download from https://github.com/docker/compose/releases don't use curl
rename file as docker-compose and place in /usr/local/bin/
provide rx permission to file
and check docker verison
doesn't work for me
I had a similar error message. Here is how I have resolved it:
ls -al /usr/local/bin/docker-compose
It should show something like: -rwxr-x--- 1 root root 17586312 May 18 08:02 /usr/local/bin/docker-compose
chmod o+rx /usr/local/bin/docker-compose
P.S. make sure you are changing or checking permissions of the actual file and not a link to it!
download from https://github.com/docker/compose/releases don't use curl
rename file as docker-compose and place in /usr/local/bin/
provide rx permission to file
and check docker verison
useful锛宲roblem fix.
Most helpful comment
i met this problem too and i finally solved this by downloading docker-compose with the
docker-compose-Linux-x86_64 rather than by curl command.