Docker Community Forums

Share and learn in the Docker community.

Running docker-compose from Eclipse docker-tooling throws errors


I upgraded docker to the latest. I have docker desktop for mac 4.0.0. Engine 20.1.8 and compose 1.29.2
I am able to run docker-compose from command line but I am getting the errors below when trying docker-compose from Eclipse Docker tooling:

Traceback (most recent call last):
File “docker-compose”, line 3, in
File “compose/cli/”, line 81, in main
File “compose/cli/”, line 203, in perform_command
File “compose/metrics/”, line 18, in wrapper
File “compose/cli/”, line 1186, in up
File “compose/cli/”, line 1166, in up
File “compose/”, line 664, in up
File “compose/”, line 364, in ensure_image_exists
File “compose/”, line 1111, in build
File “compose/”, line 1942, in build
File “”, line 947, in init
File “”, line 1819, in _execute_child
FileNotFoundError: [Errno 2] No such file or directory: ‘docker’
[69554] Failed to execute script docker-compose

Thank you, I really appreciate your help in this.