- 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.
推薦閱讀
- Interactive Data Visualization with Python
- 重學Java設計模式
- Asynchronous Android Programming(Second Edition)
- Machine Learning in Java
- Mastering Backbone.js
- 響應式Web設計:HTML5和CSS3實戰(第2版)
- Raspberry Pi Robotic Projects(Third Edition)
- Python數據可視化之美:專業圖表繪制指南(全彩)
- 并行編程方法與優化實踐
- 進入IT企業必讀的324個Java面試題
- Learning Image Processing with OpenCV
- 零基礎學Java(第5版)
- Roslyn Cookbook
- Access 2016數據庫應用與開發:實戰從入門到精通(視頻教學版)
- Instant SQL Server Analysis Services 2012 Cube Security