nofunatall
nofunatall

Reputation: 571

"Cannot execute command" popup from IntelliJ when launching Docker Desktop

I'm getting a strange error popup I suspect it has something to do with a built in integration of Docker in IntelliJ.

I'm running the following:

When I launch Docker Desktop, it launches IntelliJ for some reason and I get an error popup immediately:

Title: Cannot execute command

Body: Can not open file /Users/myuser/Library/Containers/com.docker.docker/Data/--list-extensions

I've tried reinstalling both several times and used the Clear cache and clear data options in the Docker settings. I should also note that i've tried removing all projects from IntelliJ and docker and have even disabled the "Docker" plugin in IntelliJ but still get the same error.

Does anyone have any ideas on how to prevent this popup on launch? It is more of an annoyance than a blocker as I can simply close it and then use the tools without problems but its odd that this would happen. Originally I dismissed it as some random system specific configuration but today found that it is not specific to my environment as I got it on a fresh install on a new machine with new user.

Upvotes: 16

Views: 1865

Answers (2)

Arjen Smedes
Arjen Smedes

Reputation: 9

What worked for me today:

  • Upgrade to Big Sur (wanted to do that anyway).
  • Remove Intelli-J
  • Uninstall Docker
  • Install Docker 3.6.x
  • Install latest Intelli-J

Problem gone.

Upvotes: 0

cizezsy
cizezsy

Reputation: 106

It seems a bug of Docker Development Environments Preview. The IntelliJ IDEA is opened by this process.

/Applications/Docker.app/Contents/MacOS/com.docker.dev-envs

You can degrade the Docker Desktop to version 3.4.0 to temporarily fix this problem.

Upvotes: 9

Related Questions