1. What is Docker?
Docker is implemented based on the Linux kernel. Docker first adopted LXC technology. LXC is a container technology natively supported by Linux and can provide lightweight virtualization. Based on the development of LXC, Docker provides advanced packaging of LXC and standard configuration methods. On the basis of LXC, Docker provides a series of more powerful functions. And virtualization technology, such as KVM, is implemented based on modules. Later, Docker changed to its own developed and open source runc technology to run containers
Compared with virtual machines, Docker has faster delivery speed and lower resource consumption. Docker adopts client/server architecture and uses remote API to manage and create containers. It can easily create a lightweight, portable, self-sufficient Self-sufficient container. The three concepts of Docker are build, ship, and run. Docker provides container resource isolation and security through namespace and cgroup, so Docker containers do not require additional resource overhead similar to virtual machines when they are running, so Can greatly improve resource utilization
2. Solutions
First docker official website, download the window version in the official website
docker official website https://www.docker.com/
If the following problems occur during the installation of docker, you can follow the steps below to solve them.
Component CommunityInstaller.EnableFeaturesAction failed: Not found
at CommunityInstaller.InstallWorkflow.<DoHandleD4WPackageAsync>d__29.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at CommunityInstaller.InstallWorkflow.<DoProcessAsync>d__23.MoveNext()
Solution:
First delete the following folders on the C drive, all must be deleted.
~/AppData/Local/Docker
~/AppData/Roaming/Docker
C:\ProgramData\Docker
C:\Program Files\Docker
Right-click the window and click the arrow position, and run the following commands as an administrator.
Run the following command:
sc config winmgmt start= disabled net stop winmgmt
Winmgmt /salvagerepository %windir%\System32\wbem Winmgmt /resetrepository %windir%\System32\wbem
sc config winmgmt start= auto
Then reboot to restart