1

While attempting to install, in VS Code, the Fabric samples and binaries through the curl command :

I've encountered the following error, as soon as Fabric docker images are pulled :

The command 'docker' could not be found in this WSL1 distro. We recommend to convert this distro into 
WSL 2 and activate the WSL integration in Docker Desktop settings.

enter image description here

N.B: Docker version 20.10.0-beta1

Thus any relevant feedback, not impacting the usage of the IBM Blockchain Platform v.1.0.39 (e.g. prerequisites installed), would highly be appreciated.

Best

dark.vador
  • 619
  • 1
  • 6
  • 25

3 Answers3

2

See the Docker Desktop WSL 2 backend guide.

Specifically, you need to convert your Ubuntu distribution to WSL2 (it is currently WSL1). To do so, see Step 6 in the Install section:

To upgrade your existing Linux distro to v2, run:

wsl.exe --set-version Ubuntu 2

Either that, or create a new WSL instance by backing up the WSL1 version (wsl --export) and then importing it into a new copy (wsl --import). See wsl --help for the parameters needed.

Then proceed with the rest of the Docker installation instructions.

NotTheDr01ds
  • 15,620
  • 5
  • 44
  • 70
0

in my case, resolved by enabling the WSL2 distro option in the docker settings.

As the log says (in your qusetion)
We recommend to convert this distro into WSL 2 and activate the WSL integration in Docker Desktop settings.

  1. in Docker Settings
  2. go Resources
  3. go WSL INTEGRATION
  4. check Enable integration with my default WSL distro
  5. Apply & Restart

docker Settings

myeongkil kim
  • 2,465
  • 4
  • 16
  • 22
0

enter image description here

I faced the same issue and solved it by navigating to: docker desktop > Resources > wsl integration then choose the right distro for integrating docker with.

Saharis9988
  • 384
  • 2
  • 5