'docker" command cannot be found in this WSL1 distro
Answer a question 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 :
Answer a question
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.
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
Answers
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.
更多推荐
所有评论(0)