desktop-linux icon indicating copy to clipboard operation
desktop-linux copied to clipboard

"com.docker.cli" excecutable not found

Open KennethAleanda opened this issue 2 years ago • 12 comments

  • [x] I have tried with the latest version of Docker Desktop
  • [x] I have tried disabling enabled experimental features
  • [x] I have uploaded Diagnostics
  • Diagnostics ID: 40f9732b-98ca-4ea3-a5c6-9695c4101a2c/20220916173342

Expected behavior

run docker command through cli

Actual behavior

error : "exec: "com.docker.cli": executable file not found in $PATH Current PATH : /usr/local/bin:/usr/bin:/usr/local/sbin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/home/kenneth/.spicetify:/home/kenneth/.docker/desktop"

Information

  • Linux distro: arch-linux 5.19.8-arch1-1 (endeavour)
  • Distro version: endeavour version = 2021.12.17
  • Docker Desktop Version: 4.12.0 the problem persist even when re-installing or changing to version 4.11.0

Steps to reproduce the behavior

  1. following installation until https://docs.docker.com/desktop/install/archlinux/#launch-docker-desktop
  2. run "docker compose version" or any command through terminal

KennethAleanda avatar Sep 16 '22 17:09 KennethAleanda

I am using the same Distro/Kernel and am experiencing the exact same issue @KennethAleanda

codearoni avatar Sep 29 '22 16:09 codearoni

Exactly same issue with the same distro information :(

ghost avatar Oct 09 '22 07:10 ghost

Same issue with

  • Linux distro: arch-linux 5.15.67-1 (manjaro)
  • Distro version: (latest, rolling)
  • Docker Desktop Version: 4.12.0

Adam-Vandervorst avatar Oct 10 '22 11:10 Adam-Vandervorst

Confirm, exactly same issue. image

aa6my avatar Nov 24 '22 01:11 aa6my

Same issue for me, im using the same distro

YaserH25 avatar Nov 27 '22 10:11 YaserH25

I'm sorry to see this "regular error" with Docker Desktop, but for ArchLinux-based distributions, try the following this workround to fix it:

  • paru -S docker-cli-bin or yay -S docker-cli-bin

Then try to run docker login for authentication. If you seeing error like this: Error: password store is empty. Try "pass init", please try to generate a new GPG key or using existing one to initializing pass store.

yai-dev avatar Feb 22 '23 08:02 yai-dev

paru -S docker-cli-bin Tks @yai-dev, this fix for me.

I'm using Garuda XFCE Linux arch 6.2.1-x64v1-xanmod1-1

pedrohrb7 avatar Mar 03 '23 15:03 pedrohrb7

There hasn't been any activity on this issue for a long time. If the problem is still relevant, mark the issue as fresh with a /remove-lifecycle stale comment. If not, this issue will be closed in 30 days.

Prevent issues from auto-closing with a /lifecycle frozen comment.

/lifecycle stale

docker-robot[bot] avatar Jun 23 '23 01:06 docker-robot[bot]

same here

useEffects avatar Sep 10 '23 17:09 useEffects

I had the same issue. I missed the step of installing the base docker as defined in the instructions

  1. Install Docker client binary on Linux. On Arch-based distributions, users must install the Docker client binary. Static binaries for the Docker client are available for Linux (as docker).

I am using Manjaro. I do not have paru or yay installed nor intend to. I simply ran sudo pacman -S docker and everything immediately began working.

frctnlss avatar Sep 27 '23 22:09 frctnlss

I had the same issue. I missed the step of installing the base docker as defined in the instructions

  1. Install Docker client binary on Linux. On Arch-based distributions, users must install the Docker client binary. Static binaries for the Docker client are available for Linux (as docker).

I am using Manjaro. I do not have paru or yay installed nor intend to. I simply ran sudo pacman -S docker and everything immediately began working.

Thanks @frctnlss! This worked for me.

I'm using Arch 6.5.7-arch1-1

andreglatz avatar Oct 18 '23 05:10 andreglatz

I had the same issue. I missed the step of installing the base docker as defined in the instructions

  1. Install Docker client binary on Linux. On Arch-based distributions, users must install the Docker client binary. Static binaries for the Docker client are available for Linux (as docker).

I am using Manjaro. I do not have paru or yay installed nor intend to. I simply ran sudo pacman -S docker and everything immediately began working.

Thanks @frctnlss , this really worked for me! I'm using 6.9.0-1-MANJARO

joao-fernandes-99 avatar May 28 '24 01:05 joao-fernandes-99