- Hands-On Kubernetes on Windows
- Piotr Tylenda
- 251字
- 2021-06-24 16:53:57
Installation
The installation process described in this section follows the recommendations from the official Docker documentation. Let's begin:
If you are using chocolatey to manage application packages on your Windows system, it is also possible to use the official trusted package for Docker Desktop, available from: https://chocolatey.org/packages/docker-desktop.
- In order to download Docker Desktop for Windows, navigate to https://hub.docker.com/editions/community/docker-ce-desktop-windows. Downloading it requires registering for the service. You can also choose direct links for downloading the Stable channel release (https://download.docker.com/win/stable/Docker%20for%20Windows%20Installer.exe) or the Edge channel release (https://download.docker.com/win/edge/Docker%20Desktop%20Installer.exe).
Docker Desktop for Windows will automatically enable the Hyper-V role if needed and restart the machine. If you are a VirtualBox user or Docker Toolbox user, you will no longer be able to run VirtualBox VMs as Type-1 and Type-2 hypervisors cannot run side by side. You will be still able to access your existing VM images but will not be able to start the VMs.
- Navigate to the directory where the installer has been downloaded to and double-click on it.
- Enable Windows container support by default by selecting the Use Windows containers instead of Linux containers option:
- Proceed with the installation:
- You may be prompted to restart your machine if the Hyper-V role was enabled by the installer.
- Launch the Docker Desktop application.
- Wait until Docker is fully initialized. You will see the following prompt:
After installation, we need to verify whether Docker has been installed properly and can run a simple hello world container image.
推薦閱讀
- 黑客攻防從入門到精通(實戰(zhàn)秘笈版)
- Python自動化運維快速入門(第2版)
- Java 9 Programming Blueprints
- 你必須知道的204個Visual C++開發(fā)問題
- 零基礎(chǔ)學(xué)MQL:基于EA的自動化交易編程
- Spring Boot企業(yè)級項目開發(fā)實戰(zhàn)
- C# 8.0核心技術(shù)指南(原書第8版)
- 軟件品質(zhì)之完美管理:實戰(zhàn)經(jīng)典
- 智能手機故障檢測與維修從入門到精通
- Android系統(tǒng)下Java編程詳解
- Python Projects for Kids
- Mobile Forensics:Advanced Investigative Strategies
- Python數(shù)據(jù)科學(xué)實踐指南
- Mapping with ArcGIS Pro
- C#程序設(shè)計基礎(chǔ)與實踐