exec: com.docker.cli: executable file not found in $PATH

exec: com.docker.cli: executable file not found in $PATH

Updated Answer:

Since VSCode Docker 1.14.0 you can now set the Docker executable path in the settings, which should help in most cases.

VSCode


Old Answer (Option was removed from Docker Desktop):

The Desktop Docker Version 2.4.0.0 is working for me after I did deactivate the feature Enable cloud experience. You can find it under Preferences –> Command Line.

Cloud


If you are still experience the problem, you may try a clean remove and install of Docker and also make sure that Docker is actually running, see other possible solution(s) here.


History of GitHub Issues:

You might get the following error message simply because you did not start Docker just yet

exec: com.docker.cli: executable file not found in $PATH

exec: com.docker.cli: executable file not found in $PATH

Update: The cloud experience no longer exists even as an experimental feature in Docker Desktop v3.2.1. This should no longer be an issue.

If you continue to see this problem on a newer version, you will need to downgrade to Docker v3.1.0, disable the cloud experience feature, then upgrade to the newest version.

Related Posts

Leave a Reply

Your email address will not be published.