Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docker for Windows with WSL2 #17

Open
patricia-patricia opened this issue Jun 10, 2021 · 0 comments
Open

Docker for Windows with WSL2 #17

patricia-patricia opened this issue Jun 10, 2021 · 0 comments

Comments

@patricia-patricia
Copy link

Below are some issues encountered during installation when using Docker for Windows with WSL2

  1. Memory issue - vmmem consumes to much RAM
  • go to c:\users*your your profile name* and creating a .wslconfig
[wsl2]
memory=4GB # Limits VM memory in WSL 2 to 4 GB
processors=5 # Makes the WSL 2 VM use two virtual processors
  • Go to powershell

Restart-Service LxssManager

  1. Containers and Images won't appear - docker starting forever

This is because verify that the Virtual Machine Management service on the computer is running.

  • Open "Window Security"
  • Open "App & Browser control"
  • Click "Exploit protection settings" at the bottom
  • Switch to "Program settings" tab
  • Locate "C:\WINDOWS\System32\vmcompute.exe" in the list and expand it
  • Click "Edit"
  • Scroll down to "Code flow guard (CFG)" and uncheck "Override system settings"
  • Start vmcompute from powershell
  • net start vmcompute
  1. Error running CAE service
  • install dos2unix
  • modify dockerfile
  • RUN dos2unix for .sh file
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant