- 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.
推薦閱讀
- Mastering Concurrency Programming with Java 8
- Progressive Web Apps with React
- Rust實戰(zhàn)
- 深入淺出Spring Boot 2.x
- Microsoft Dynamics GP 2013 Reporting, Second Edition
- SQL Server 2012數(shù)據(jù)庫管理與開發(fā)項目教程
- C語言程序設(shè)計學(xué)習(xí)指導(dǎo)與習(xí)題解答
- Python:Master the Art of Design Patterns
- C++寶典
- Developing SSRS Reports for Dynamics AX
- Odoo 10 Implementation Cookbook
- Julia數(shù)據(jù)科學(xué)應(yīng)用
- 嵌入式Linux C語言程序設(shè)計基礎(chǔ)教程
- 分布式數(shù)據(jù)庫HBase案例教程
- Beginning C# 7 Hands-On:The Core Language