skip to Main Content

When I try to do a Docker Build using Docker as usual, I get the error message in the image and cannot Build.
What should I do in this case?
By the way, Docker’s version is 23.0.1.
(https://i.stack.imgur.com/AzgNi.png)(https://i.stack.imgur.com/PIryk.png)
(https://i.stack.imgur.com/kMF5Y.png)

When I uninstall docker buildx and then Build, I get other warning errors and the Build itself works, but parallel processing cannot be performed.
My ideal would be to use Buildx to do a parallel Build.

2

Answers


  1. Did you maybe use Docker Desktop on Windows, uninstall it, and then tried to install Docker directly on WSL?

    In that case you may have an issue that in /usr/local/lib/docker/cli-plugins/ you don’t have actual files, but broken links to WSL installation. This happened to me.

    To verify check output from: ls -la /usr/local/lib/docker/cli-plugins/

    In my case, I rm these broken links, then rerun Docker installation on WSL and it solved the problem.

    Login or Signup to reply.
  2. I also had a similar issue with version 23.0.2. For me it was missing buildx package. Following command solved the issue.

    apt-get install docker-buildx-plugin

    Message and docs of docker on linux are a bit vague unfortunately. I found out the missing package while I was planning to install docker from scratch.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search