Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

The method of installing Docker in Windows Server2012 R2

2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)05/31 Report--

This article mainly explains "how to install Docker in Windows Server2012 R2". Interested friends may wish to have a look. The method introduced in this paper is simple, fast and practical. Now let the editor take you to learn "Windows Server2012 R2 how to install Docker"!

Download the installation package

Windows10, Windows Server 2016 and above systems can directly use the installation package, lower versions of systems need to use Docker Toolbox for installation using Docker.

Installation steps

Enable virtualization support for Cpu. View it through the Task Manager, as shown in the following figure.

☘️ install Docker Toolbox

Follow the prompts to install.

Check Install VirtualBox...

Check "always trust from Oracle …" The software.

After the installation is successful, the desktop displays three quick startup methods.

☘️ starts Docker

Open Docker Quickstart Terminal on the desktop, and the normal startup interface is shown in the following figure.

Test Docker

Docker-vdocker run hello-worlddocker images

The following figure shows that Docker is running normally.

Error message encountered by ☘️

1. Boot2Docker not found

Running pre-create checks...

(default) No default Boot2Docker ISO found locally, downloading the latest release...

Error with pre-create check: "Get https://api.github.com/repos/boot2docker/boot2 922

Docker/releases/latest: dial tcp 192.30.252.125:443: connectex: A connection att

Empt failed because the connected party did not properly respond after a period

Of time, or established connection failed because connected host has failed to r

Espond. "

Looks like something went wrong in step 'Checking if machine default exists'...

Press any key to continue...

Solution: copy boot2docker.iso (as shown in the red box below) to% HOMEPATH%.docker\ machine\ cache

You can refer to my file path, just change the user name to yours.

At this point, I believe you have a deeper understanding of "how to install Docker in Windows Server2012 R2". You might as well do it in practice. Here is the website, more related content can enter the relevant channels to inquire, follow us, continue to learn!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report