文章目录

  • 一. 安装Chocolatey
    • 1.1 什么是chocolatey
    • 1.2 安装
    • 1.3 查看
  • 二. 安装LxRunOffline
    • 2.1 使用Chocolatey安装
    • 2.2 LxRunOffline参数
  • 三. LxRunOffline安装WSL2
    • 3.1 前置设置
    • 3.2 安装centos7子系统(选择一个安装)
      • 3.2.1 微软商店安装Ubuntu20.04(推荐)
      • 3.2.2 使用LxRunOffline安装
      • 3.2.3 通过商店安装(收费14块钱,用上面的比较好)
    • 3.3 Windows Terminal
    • 3.4 配置xshell连接ssh(Unubtu)
      • 3.4.1 先删ssh,再安装ssh
      • 3.4.2 修改配置文件
      • 3.4.3 重启ssh
      • 3.4.4 开机启动
      • 3.4.5 连接XShell测试
    • 3.4 配置xshell连接ssh(centos7)
  • 四. 安装Docker
  • 五. k8s
    • 5.1 下载镜像
    • 5.2 安装
    • 5.3 查看
    • 5.4 安装helm
    • 5.5 helm安装nginx-ingress(有需要再安装,内网直接用 IP + NodePort)
    • 5.6 将集群导入线上的Rancher
    • 5.7 安装harbor
      • 5.7.1 下载
      • 5.7.2 配置文件
      • 5.7.3 安装
      • 5.7.4 访问
      • 5.7.5 `docker login`
    • 5.8 安装jenkins
      • 5.8.1 添加`ali`源
      • 5.8.2 搜索
      • 5.8.3 下载
      • 5.8.4 新建配置文件(NodePort)
      • 5.8.5 修改下模板文件
      • 5.8.6 安装
      • 5.8.7 访问
      • 5.8.8 安装插件
      • 5.8.9 配置凭据

一. 安装Chocolatey

1.1 什么是chocolatey

Chocolatey是一款专为Windows系统开发的、基于NuGet的包管理器工具,类似于Node.jsnpmMacOSbrewUbuntuapt-get,它简称为chocoChocolatey的设计目标是成为一个去中心化的框架,便于开发者按需快速安装应用程序和工具。

Chocolatey的官网: https://chocolatey.org/

1.2 安装

管理员身份运行powershell

Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))

1.3 查看

PS C:\WINDOWS\system32> choco
Chocolatey v0.10.15
Please run 'choco -?' or 'choco <command> -?' for help menu.

choco 其它命令如下:

choco -v 查看 choco 版本
choco list -li 查看本地安装的软件
choco search nodejs 查找安装包
choco install sublimetext3 下载
choco uninstall sublimetext3 卸载
choco upgrade sublimetext3 更新升级(update)
choco upgrade chocolatey 更新升级 chocolatey 自己

二. 安装LxRunOffline

2.1 使用Chocolatey安装

choco install lxrunoffline

2.2 LxRunOffline参数

如果执行命令报错,退出powershell再进入

PS C:\WINDOWS\system32> lxrunoffline version
LxRunOffline v3.5.0
PS C:\WINDOWS\system32> lxrunoffline
[ERROR] No action is specified.Supported actions are:l, list            List all installed distributions.gd, get-default    Get the default distribution, which is used by bash.exe.sd, set-default    Set the default distribution, which is used by bash.exe.i, install         Install a new distribution.ui, uninstall      Uninstall a distribution.rg, register       Register an existing installation directory.ur, unregister     Unregister a distribution but not delete the installation directory.m, move            Move a distribution to a new directory.d, duplicate       Duplicate an existing distribution in a new directory.e, export          Export a distribution's filesystem to a .tar.gz file, which can be imported by the "install" command.r, run             Run a command in a distribution.di, get-dir        Get the installation directory of a distribution.gv, get-version    Get the filesystem version of a distribution.ge, get-env        Get the default environment variables of a distribution.se, set-env        Set the default environment variables of a distribution.ae, add-env        Add to the default environment variables of a distribution.re, remove-env     Remove from the default environment variables of a distribution.gu, get-uid        Get the UID of the default user of a distribution.su, set-uid        Set the UID of the default user of a distribution.gk, get-kernelcmd  Get the default kernel command line of a distribution.sk, set-kernelcmd  Set the default kernel command line of a distribution.gf, get-flags      Get some flags of a distribution. See https://docs.microsoft.com/en-us/previous-versions/windows/desktop/api/wslapi/ne-wslapi-wsl_distribution_flags for details.sf, set-flags      Set some flags of a distribution. See https://docs.microsoft.com/en-us/previous-versions/windows/desktop/api/wslapi/ne-wslapi-wsl_distribution_flags for details.s, shortcut        Create a shortcut to launch a distribution.ec, export-config  Export configuration of a distribution to an XML file.ic, import-config  Import configuration of a distribution from an XML file.sm, summary        Get general information of a distribution.version            Get version information about this LxRunOffline.exe.

三. LxRunOffline安装WSL2

3.1 前置设置

进入页面 更新 WSL 2 Linux 内核 下载Linux内核更新包,安装更新。

#用管理员模式启动PowerShell然后运行
dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart
dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart
这两个安装完成直接 重启 !!!!!!!!!重启!!!!!!

重启之后验证一下两个已经勾选

打开 PowerShell,右键以管理员身份运行,然后在安装新的 Linux 发行版时运行以下命令,将 WSL 2 设置为默认版本:

wsl --set-default-version 2

3.2 安装centos7子系统(选择一个安装)

3.2.1 微软商店安装Ubuntu20.04(推荐)


点击获取安装,然后点击启动

安装好之后设置用户wanfei,密码xxxxxx

修改root密码

wanfei@DESKTOP-073CCAL:/mnt/c/Users/Tophanter$ sudo passwd root
# 输入 wanfei 的密码
[sudo] password for wanfei:
# 输入密码 root
New password:
# 再一次输入密码 root
Retype new password:
passwd: password updated successfully

PowerShell界面LxRunOffline设置root为默认用户

lxrunoffline su -n Ubuntu-20.04 -v 0

root用户的 UID0

启动Ubuntu-20.04界面

使用LxRunOffline迁移到D盘

# 先关闭
PS C:\Users\Tophanter> wsl --shutdown
PS C:\Users\Tophanter> wsl -l -vNAME            STATE           VERSION
* Ubuntu-20.04    Stopped         2# 查看已安装的Ubutun版本
PS C:\Users\Tophanter> lxrunoffline list
Ubuntu-20.04# 迁移
PS C:\Users\Tophanter> LxRunOffline move -n Ubuntu-20.04 -d D:\WSL\Ubuntu# 查看迁移后的WSL所在目录
PS C:\Users\Tophanter> lxrunoffline get-dir -n Ubuntu-20.04
D:\WSL\Ubuntu
3.2.2 使用LxRunOffline安装

下载 Centos7docker 镜像

可以参考 https://github.com/RoliSoft/WSL-Distribution-Switcher 来下载。

或者直接 下载

下载需要连接VPN

使用LxRunOffline安装CentOS7

# 安装
PS C:\WINDOWS\system32> lxrunoffline install -n centos7 -d D:\WSL\CentOS7 -f D:\gongJu\centos-7-docker.tar.xz# 卸载
PS C:\WINDOWS\system32> lxrunoffline uninstall -n centos7

-n 用来指定名称,-d 后面是要安装到的目录,-f 是前面下载的镜像

虽然上面制定了wsl默认为2,但是这里还是1

PS C:\WINDOWS\system32> wsl -l -vNAME       STATE           VERSION
* centos7    Stopped         1

修改centos7 wsl版本

PS C:\WINDOWS\system32> wsl --set-version centos7 2
正在进行转换,这可能需要几分钟时间...
有关与 WSL 2 的主要区别的信息,请访问 https://aka.ms/wsl2
转换完成。
PS C:\WINDOWS\system32> wsl -l -vNAME       STATE           VERSION
* centos7    Stopped         2

这里也可以迁移centos7D盘

运行

lxrunoffline r -n centos7[root@DESKTOP-H7HOHUB system32]# cat /etc/redhat-release
CentOS Linux release 7.6.1810 (Core)

LxRunOffline安装的Centos7,默认是以root用户登录

参考 https://blog.csdn.net/a772304419/article/details/114369974

参考 https://www.cnblogs.com/hongdada/p/13200158.html

3.2.3 通过商店安装(收费14块钱,用上面的比较好)


安装好之后设置用户wanfei,密码xxxxxx

修改root密码

[wanfei@DESKTOP-ILN245J ~]$ sudo passwd root
[sudo] password for wanfei:
# 输入 wanfei 的密码
Changing password for user root.
# 输入密码 root
New password:
BAD PASSWORD: The password is shorter than 8 characters
# 再一次输入密码 root
Retype new password:
passwd: all authentication tokens updated successfully.

LxRunOffline设置root为默认用户

lxrunoffline su -n Centos7 -v 0

root用户的 UID0


启动Centos7界面

更新系统(也可以不更新)

yum update -y[root@DESKTOP-H7HOHUB-wsl ~]# cat /etc/redhat-release
CentOS Linux release 7.9.2009 (Core)

3.3 Windows Terminal

现在PowerShell切换到Centos7界面,命令无法复制粘贴,使用Windows Terminal

win10商店安装

3.4 配置xshell连接ssh(Unubtu)

3.4.1 先删ssh,再安装ssh
apt remove openssh-server -y
apt install openssh-server
3.4.2 修改配置文件
vim /etc/ssh/sshd_config

去除#,修改为

Port 2222
ListenAddress 0.0.0.0
PermitRootLogin yes # 开启允许远程登陆
PasswordAuthentication yes # 开启使用用户密码来作为连接验证
3.4.3 重启ssh
service ssh --full-restart
3.4.4 开机启动

参考 https://blog.csdn.net/shenbururen/article/details/106133150

配置延时2分钟
双击

触发器 -> 编辑

3.4.5 连接XShell测试

这个时候你自己电脑上的xshell是可以连接的了, 但是想要在其他的计算机上访问, 就需要系统开放端口了

这时需要到防火墙设置开放2222端口

防火墙 -> 高级设置 -> 入站规则 -> 新建规则

端口 -> 下一步

选择tcp 特定本地端口 2222

允许连接, 默认都选上, 下一步填个名字 完成

如果连不上,看看防火墙设置文件和打印机共享是否启用

使用发现win10 ipwsl2 ip不一样,使用win10 ip无法连接,只能使用127.0.0.1去连xshell,所以内网内的电脑也无法使用win10 ip连接,使用wsl2 ip可以连接,但是每次重启wsl2 ip会变,所以可以使用内网穿透去连接

3.4 配置xshell连接ssh(centos7)

执行命令

# 安装ssh
yum install -y openssl openssh-server# 编辑配置
vi /etc/ssh/sshd_config
去除#,修改为Port 2222
ListenAddress 0.0.0.0
PermitRootLogin yes # 开启允许远程登陆
PasswordAuthentication yes # 开启使用用户密码来作为连接验证# 启动
# 执行一次
/usr/sbin/sshd-keygen -A
# 每次开机后要执行一次
nohup /usr/sbin/sshd -D >/dev/null 2>&1 &

四. 安装Docker

地址 https://www.docker.com/products/docker-desktop

安装好之后可能浏览器无法上网,微信可以上网,关闭代理

设置镜像加速 https://blog.csdn.net/czjnoe/article/details/114211013

添加

  "registry-mirrors": ["https://x83mabsk.mirror.aliyuncs.com","https://registry.docker-cn.com","http://hub-mirror.c.163.com","https://docker.mirrors.ustc.edu.cn","https://reg-mirror.qiniu.com","https://dockerhub.azk8s.cn","https://mirror.ccs.tencentyun.com"]

使用LxRunOffline迁移docker数据到D盘

PS C:\Users\16872> LxRunOffline.exe l
centos7
docker-desktop-data
docker-desktop# 1. 运行命令前 点击退出 Docekr Desktop,然后三个就都 Stopped
PS C:\Users\16872> wsl -l -vNAME                   STATE           VERSION
* centos7                Stopped         2docker-desktop-data    Stopped         2docker-desktop         Stopped         2# 2. 关闭所有发行版
wsl --shutdown# 3. 新建docker-desktop-data文件夹,将docker-desktop-data导出到D:\WSL\docker-desktop-data\docker-desktop-data.tar(注意,原有的docker images不会一起导出)
wsl --export docker-desktop-data D:\WSL\docker-desktop-data\docker-desktop-data.tar# 4. 注销docker-desktop-data
wsl --unregister docker-desktop-data# 5. 重新导入docker-desktop-data到要存放的文件夹:D:\WSL\docker-desktop-data\
wsl --import docker-desktop-data D:\WSL\docker-desktop-data\ D:\WSL\docker-desktop-data\docker-desktop-data.tar --version 2

只需要迁移docker-desktop-data一个发行版就行,另外一个docker-desktop不用管,它占用空间很小。

完成以上操作后,原来的%LOCALAPPDATA%/Docker/wsl/data/ext4.vhdx就迁移到新目录了

每个文件夹下面都有ext4.vhdx这个文件

重启电脑校验迁移的功能是否正常

PS C:\Users\16872> wsl -l -vNAME                   STATE           VERSION
* centos7                Running         2docker-desktop-data    Running         2docker-desktop         Running         2

现在不用担心C盘爆满了。

可以查看安装路径

PS C:\Users\16872> LxRunOffline.exe list
docker-desktop-data
centos7
docker-desktop
PS C:\Users\16872> LxRunOffline.exe get-dir -n docker-desktop-data
\\?\D:\WSL\docker-desktop-data

卸载

#卸载命令,先要停止
wsl -t docker-desktop
wsl -t docker-desktop-data
wsl -t Centos7# 卸载,会删除d盘里面迁移的目录
LxRunOffline.exe ui -n Centos7
LxRunOffline.exe ui -n docker-desktop-data
LxRunOffline.exe ui  -n docker-desktop

五. k8s

5.1 下载镜像

由于K8S需要一些镜像,如果一个个去下载,还是有点麻烦,我们可以借助一个阿里云现有的项目 AliyunContainerService/k8s-for-docker-desktop,一次把所有Image都下载好。

打开PowerShell,执行命令行

git clone https://github.com/AliyunContainerService/k8s-for-docker-desktop.git

然后参照里面的README.md指导

切换代码分支v1.19.7,使用 PowerShell

.\load_images.ps1

如果下载镜像,执行脚本报错,参考 https://blog.csdn.net/qq_44606649/article/details/104025066

5.2 安装

5.3 查看

[root@DESKTOP-H7HOHUB 16872]# kubectl get sc
NAME                 PROVISIONER          RECLAIMPOLICY   VOLUMEBINDINGMODE   ALLOWVOLUMEEXPANSION   AGE
hostpath (default)   docker.io/hostpath   Delete          Immediate           false                  35s
[root@DESKTOP-H7HOHUB 16872]# kubectl get nodes
NAME             STATUS   ROLES    AGE   VERSION
docker-desktop   Ready    master   66s   v1.19.7
[root@DESKTOP-H7HOHUB 16872]# kubectl get pods -n kube-system
NAME                                     READY   STATUS    RESTARTS   AGE
coredns-f9fd979d6-2c297                  1/1     Running   0          70s
coredns-f9fd979d6-krzlv                  1/1     Running   0          70s
etcd-docker-desktop                      1/1     Running   0          21s
kube-apiserver-docker-desktop            1/1     Running   0          8s
kube-controller-manager-docker-desktop   1/1     Running   0          7s
kube-proxy-jlxbg                         1/1     Running   0          70s
kube-scheduler-docker-desktop            1/1     Running   0          13s
storage-provisioner                      1/1     Running   0          67s
vpnkit-controller

默认安装了一个StorageClass hostpath,在电脑里面的地址是\\wsl$\docker-desktop-data\version-pack-data\community\k8s-pvs

参考 https://www.cnblogs.com/taylorshi/p/13698355.html

5.4 安装helm

下载地址 https://github.com/helm/helm/releases

[root@DESKTOP-H7HOHUB 16872]# mkdir -p ~/i/helm && cd ~/i/helm
[root@DESKTOP-H7HOHUB helm]# yum install wget -y
[root@DESKTOP-H7HOHUB helm]# wget https://get.helm.sh/helm-v3.5.4-linux-amd64.tar.gz[root@DESKTOP-H7HOHUB helm]# ls
helm-v3.5.4-linux-amd64.tar.gz
[root@DESKTOP-H7HOHUB helm]# tar -xvf helm-v3.5.4-linux-amd64.tar.gz
linux-amd64/
linux-amd64/helm
linux-amd64/LICENSE
linux-amd64/README.md
[root@DESKTOP-H7HOHUB helm]# ls
helm-v3.5.4-linux-amd64.tar.gz  linux-amd64[root@DESKTOP-H7HOHUB helm]# mv linux-amd64/helm /usr/local/bin
[root@DESKTOP-H7HOHUB helm]# helm version
WARNING: Kubernetes configuration file is group-readable. This is insecure. Location: /root/.kube/config
WARNING: Kubernetes configuration file is world-readable. This is insecure. Location: /root/.kube/config
version.BuildInfo{Version:"v3.5.4", GitCommit:"1b5edb69df3d3a08df77c9902dc17af864ff05d1", GitTreeState:"clean", GoVersion:"go1.15.11"}

配置helm仓库

helm repo add apphub https://apphub.aliyuncs.com
helm repo add stable https://charts.helm.sh/stable
helm repo update

5.5 helm安装nginx-ingress(有需要再安装,内网直接用 IP + NodePort)

该版本Docker Desktop最多为Docker Desktop 4.2.0,支持Kubernetes 1.21.5,下载地址https://docs.docker.com/desktop/windows/release-notes/#docker-desktop-420

搜索

[root@DESKTOP-H7HOHUB helm]# helm search repo apphub/nginx-ingress
NAME                            CHART VERSION   APP VERSION     DESCRIPTION
apphub/nginx-ingress            1.30.3          0.28.0          An nginx Ingress controller that uses ConfigMap...
apphub/nginx-ingress-controller 5.3.4           0.29.0          Chart for the nginx Ingress controller

安装

helm install nginx-ingress apphub/nginx-ingress --version 1.30.3 --namespace kube-system \
--set controller.image.repository=quay.io/kubernetes-ingress-controller/nginx-ingress-controller \
--set defaultBackend.image.repository=registry.cn-shanghai.aliyuncs.com/wanfei/defaultbackend-amd64

查看

[root@DESKTOP-H7HOHUB helm]# kubectl get pods -n kube-system | grep nginx
nginx-ingress-controller-df7695cbf-5vr49        1/1     Running   0          39s
nginx-ingress-default-backend-559457d54-jx8l9   1/1     Running   0          39s

5.6 将集群导入线上的Rancher

添加集群

导入

台式机本地k8s集群加入


复制到台式机本地k8s集群内执行命令
等待一会儿

创建了cattle-system命令空间

5.7 安装harbor

apphub/harbor版本4.0.0,密码一直错误,不要使用,下面通过从git下载helm chart

5.7.1 下载
git clone https://github.com/goharbor/harbor-helm
5.7.2 配置文件
cat <<EOF> my-values.yaml
expose:type: nodePorttls:enabled: falseexternalURL: http://127.0.0.1:30002
harborAdminPassword: "Harbor12345"persistence:persistentVolumeClaim:registry:storageClass: "hostpath"chartmuseum:storageClass: "hostpath"jobservice:storageClass: "hostpath"database:storageClass: "hostpath"redis:storageClass: "hostpath"trivy:storageClass: "hostpath"
EOF
  • hostpath:是默认生成的StorageClsss
  • expose.tls.enabled=false:必须要设置,否则访问不了
5.7.3 安装
kubectl create ns kube-opshelm install harbor -f my-values.yaml . --namespace kube-ops

查询

[root@DESKTOP-TEOEPLI harbor-helm]# kubectl get pods -n kube-ops
NAME                                           READY   STATUS    RESTARTS   AGE
harbor-harbor-chartmuseum-57956b498b-5qfq9     1/1     Running   0          3m35s
harbor-harbor-core-b568dfcc8-tvtff             1/1     Running   0          3m35s
harbor-harbor-database-0                       1/1     Running   0          3m35s
harbor-harbor-jobservice-79c89bcbb7-gc6cs      1/1     Running   0          3m35s
harbor-harbor-nginx-577c78c7f5-f8bsv           1/1     Running   0          3m35s
harbor-harbor-notary-server-68c866f597-qjpmv   1/1     Running   0          3m35s
harbor-harbor-notary-signer-6cbf4b5999-fptxm   1/1     Running   0          3m35s
harbor-harbor-portal-78b9d96fb9-6kkg8          1/1     Running   0          3m35s
harbor-harbor-redis-0                          1/1     Running   0          3m35s
harbor-harbor-registry-68cb47cb97-bpcvh        2/2     Running   0          3m35s
harbor-harbor-trivy-0                          1/1     Running   0          3m35s
5.7.4 访问

访问 http://127.0.0.1:30002/

账号密码:admin/Harbor12345

5.7.5 docker login
[root@DESKTOP-TEOEPLI harbor-helm]# docker login -u admin -p Harbor12345 127.0.0.1:30002
WARNING! Using --password via the CLI is insecure. Use --password-stdin.
Login Succeeded

5.8 安装jenkins

5.8.1 添加ali
helm repo add ali https://kubernetes.oss-cn-hangzhou.aliyuncs.com/charts
5.8.2 搜索
[root@DESKTOP-TEOEPLI helm]# helm search repo ali/jenkins
NAME            CHART VERSION   APP VERSION     DESCRIPTION
ali/jenkins     0.13.5          2.73            Open source continuous integration server. It s...
5.8.3 下载
[root@DESKTOP-H7HOHUB helm]# helm pull ali/jenkins
[root@DESKTOP-H7HOHUB helm]# tar -xvf jenkins-0.13.5.tgz
5.8.4 新建配置文件(NodePort)
[root@DESKTOP-H7HOHUB helm]# cd jenkinscat <<EOF> my-values.yaml
Master:AdminPassword: www19930327ServiceType: NodePortNodePort: 30005Persistence:StorageClass: "hostpath"Size: "5Gi"rbac:install: true
EOF
5.8.5 修改下模板文件
[root@master jenkins]# ls
Chart.yaml  my-values.yaml  OWNERS  README.md  templates  values.yaml
[root@master jenkins]# cd templates/
[root@master templates]# ls
config.yaml   home-pvc.yaml           jenkins-master-deployment.yaml  jenkins-master-networkpolicy.yaml  jenkins-test.yaml  NOTES.txt  secret.yaml           test-config.yaml
_helpers.tpl  jenkins-agent-svc.yaml  jenkins-master-ingress.yaml     jenkins-master-svc.yaml            jobs.yaml          rbac.yaml  service-account.yaml
[root@master templates]# vi jenkins-master-deployment.yaml


第一行修改为apps/v1

5.8.6 安装
helm install jenkins -f my-values.yaml . --namespace kube-ops

查看

[root@DESKTOP-TEOEPLI jenkins]# kubectl get pods -n kube-ops | grep jenkins
jenkins-547df9c789-crq4m                       1/1     Running   0          16m
5.8.7 访问

访问 http://127.0.0.1:30005/

账号:admin 密码上面设置的是www19930327

点击 X 跳过插件安装

5.8.8 安装插件

登录后更新插件

安装中文插件Localization: Chinese (Simplified),点第二个,安装后重启

安装 多选参数 插件Extended Choice Parameter,后面可能会用到

5.8.9 配置凭据

配置 上面安装的 Harbor 凭据

点击系统

添加凭据

Win10安装Docker和k8s相关推荐

  1. win10安装docker并结合Idea2018.1部署springboot项目

    一.准备工作 1..工具:win10,idea2018,maven3.5,jdk8 二.win10安装docker 1.win10安装docker:http://www.runoob.com/dock ...

  2. win10 安装docker msi主板开启虚拟化

    win10 安装docker msi主板开启虚拟化 简介 开启虚拟化 安装docker 简介 上次cpu莫名其妙的被烧掉了 ,然后想(yin)试(wei)试(qiong)AMD的cpu,就换了msi主 ...

  3. java代码审计----win10安装docker

    开始看<java代码审计> 第一先安装jdk 多版本jdk共存 安装docker win10安装docker docker官网下载desktop 安装后,docker启动不起来,小鲸鱼图标 ...

  4. win10安装docker教程、常见问题和原理总结

    文章目录 前言 一.Docker是什么? Docker通常应用场景: 准备开始 为什么要引入docker? docker基本概念 docker工作流程 docker原理: 二.win10上安装dock ...

  5. win10安装docker,启动后提示WSL 2 installation is incomplete.

    报错描述 win10下载安装docker,启动后提示WSL 2 installation is incomplete.截图如下 错误原因 使用的wsl2版本比较老,需要我们自己手动更新一下,我们根据提 ...

  6. win10安装docker(适用于windows家庭版)

    win10家庭版安装最新版本docker,已经不再需要hyper-v虚拟机,也不用修改windows版本注册表,最新版windows docker采用了wsl容器(适用于 Linux 的 Window ...

  7. win10 安装docker流程_Windows10下安装Docker的步骤图文教程

    本文主要是记录吾本人在Windows10下安装Docker的过程,当然这些步骤也是在网上搜索查阅资料得知而来的!具体步骤如下: 一.启用Hyper-V 打开控制面板 - 程序和功能 - 启用或关闭Wi ...

  8. win10安装docker及docker安装镜像

    准备文件 轻量级的虚拟机.linux系统.linux客户端 安装 安装virtualBox好后导入虚拟机文件centos,启动虚拟机,以root/123456登录. 使用linux客户端工具链接lin ...

  9. win10 安装docker

    这里要注意win10必须要1909以后的版本我这里的版本是 一.安装windows hyper 二.下载docker windows版本 Docker Hub 没有注册的注册一下要登录后才能下载 下载 ...

最新文章

  1. 通知:Spring Cloud Alibaba 仓库迁移
  2. 【Android 性能优化】应用启动优化 ( 安卓应用启动分析 | Launcher 应用简介 | Launcher 应用源码简介 | Launcher 应用快捷方式图标点击方法分析 )
  3. VS2010设置全局Include和Lib目录
  4. Abp太重了?轻量化Abp框架
  5. oracle连续周数,详细讲解Oracle数据库的“周数计算”
  6. python批处理代码_【原创源码】【python】python文本文件批处理
  7. redis 安装配置
  8. 视频编解码(十七):视频流错误检查步骤-进程查看内存方法
  9. java 日历选择天,如何使用Java日历从date中减去X天?
  10. 稳压芯片TPS54531的设计和分析
  11. 2021 年高教社杯全国大学生数学建模竞赛题目
  12. javaweb面试题2
  13. java毕业设计物流跟踪系统mybatis+源码+调试部署+系统+数据库+lw
  14. 十年中国WLAN市场霸主,是谁?
  15. 跌疯了,理性投资人会这样做 附国内外免费股票数据源
  16. 学习笔记61—兴趣阅读之经济学
  17. 《我想进大厂》之MQ夺命连环11问
  18. 论微信小程序安装SSL证书的重要性
  19. mysql和高斯DB的区别
  20. HTML里子DIV设置margin-top后影响父DIV位置的解决办法

热门文章

  1. Spring配置文件报错 :通配符的匹配很全面, 但无法找到元素 ‘context:property-placeholder‘ 的声明
  2. Stochastic Approximation
  3. 知识图谱入门学习笔记(一)-概念
  4. C#,佩尔数(Pell Number)的算法与源代码
  5. Python写入数据到txt文本中
  6. mysql占用cpu特别高的解决_mysql占用CPU过高的解决办法
  7. WIN8/10 中科院 ARP系统显示和附件上传的解决办法
  8. 电机学他励直流发电机matlab,基于Matlab并励直流发电机的自励过程分析
  9. 14.2 Numpy实现逆傅里叶变换
  10. 隐私保护与生成模型: 差分隐私GAN的梯度脱敏方法