– we have a GIT project cloned on the main Windows hard drive (SSD) We want to enable SSH connection to Ubuntu and we will be using it for local files’ “deployment”. Install Linux on Windows 10 (Ubuntu 20.04 LTS from Microsoft store) Properly configured Docker and Windows WSL2 will give you really good performance in terms of speed.ī. and start Docker directly from Ubuntu in WindowsĬheck out the step by step tutorial below.The “WSL 2” feature, released as Windows Update in mid 2020, was designed to increase file system performance and support full system call compatibility.Solution for Docker performance improvement Communication between these two (Hard Drive operations) can be quite slow. Why is Docker so slow? The root of the issue is that Windows 10 is (was) using WSL (Windows Subsystem for Linux), which is a layer between Windows and Linux. This is obviously a problem, one that negatively affects project progression and generally makes the life of developers more difficult. One of the more common problems for Developers that use Windows is that the projects with Docker configuration work really slowly, to a point when sometimes a single browser request needs to wait 30-60 seconds to be completed. SOLUTION: run Docker Windows from Ubuntu 20.04 LTS with WSL2 enabled CHALLENGE: incorrectly configured Docker on Windows leads to slow Docker performance
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |