You can disable the service docker scout, it is primary for vulnerability scanning and reporting and you not need that for testing:
- see
docker scout repo disable --all
NOTE:
- In case of MLRun function, ... deployment (and create new docker image), this security scanner can significantly degrade performance based on scanning e.g. new docker image with size 2 GB.
- Full description, see
It is useful to define limit for WSL2:
- define the file
c:\Users\<user>\.wslconfig
- define in the file your memory limit (8 GB is minimum) for testing
- see
[wsl2] memory=8GB
- see
- restart WSL2 is needed
Full description see
You have to setup desktop docker, see
You have to install Pyenv, see
You have to use Pyenv, see
- run IDE VSCode
- choose WSL and relevant distribution
WSL: Ubuntu
orWSL: Ubuntu-20.04
- choose interpreter
python 3.9.x ('venv': venv)'
- it is possible to Run/Debug your code