Report this

What is the reason for this report?

installing Docker

Posted on January 27, 2021

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.

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:

pip3 install --upgrade --force-reinstall --no-cache-dir docker-compose && ln -sf /usr/local/bin/docker-compose /usr/bin/docker-compose

After that, try restarting your shell (open and close the terminal). Let me know how it goes. Regards, Bobby

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.