I love your tutorial, and I want it to work for me :) I’m using Kubuntu 20.10 on an old Mac. Here is how far I got today with the install:
trude@trude-MacBookPro:~$ sudo chmod +x /usr/local/bin/docker-compose
trude@trude-MacBookPro:~$
trude@trude-MacBookPro:~$ docker-compose --version
bash: /snap/bin/docker-compose: No such file or directory
trude@trude-MacBookPro:~$
trude@trude-MacBookPro:~$ docker-compose --version
bash: /snap/bin/docker-compose: No such file or directory
trude@trude-MacBookPro:~$ echo $PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
trude@trude-MacBookPro:~$ export PATH="/usr/local/bin:$PATH"
trude@trude-MacBookPro:~$ docker-compose --version
docker-compose version 1.21.2, build a133471
trude@trude-MacBookPro:~$ docker-compose -f docker.dev.yml up
ERROR: .FileNotFoundError: [Errno 2] No such file or directory: './docker.dev.yml'
trude@trude-MacBookPro:~$ export PATH="/usr/local/bin:$PATH"
trude@trude-MacBookPro:~$ docker-compose -f docker.dev.yml up
ERROR: .FileNotFoundError: [Errno 2] No such file or directory: './docker.dev.yml'
trude@trude-MacBookPro:~$
How can I resolve this? Please :) Thank you
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.
Hi there @trudeicebergh,
I’ve seen a similar discussion here, where they suggest reinstalling
docker-compose
with and adding the executable to/usr/bin
instead:After that, try restarting your shell (open and close the terminal). Let me know how it goes. Regards, Bobby