当前位置: 首页 > news >正文

海淀区网站备案去哪企业培训机构有哪些

海淀区网站备案去哪,企业培训机构有哪些,西安 网站建设外包,安阳网约车基于Windows11的DockerDesktop安装和布署方法简介 一、下载安装Docker docker 下载地址 https://www.docker.com/ Download Docker Desktop 选择Download for Winodws AMD64下载Docker Desktop Installer.exe 双点击 Docker Desktop Installer.exe 进行安装 测试Docker安装是…

基于Windows11的DockerDesktop安装和布署方法简介
一、下载安装Docker
docker 下载地址
https://www.docker.com/

Download Docker Desktop
选择Download for Winodws AMD64下载Docker Desktop Installer.exe
双点击 Docker Desktop Installer.exe 进行安装

测试Docker安装是否成功:命令行中输入docker
显示如下所示:表示安装成功

C:\Users\Administrator>dockerUsage:  docker [OPTIONS] COMMANDA self-sufficient runtime for containersCommon Commands:run         Create and run a new container from an imageexec        Execute a command in a running containerps          List containersbuild       Build an image from a Dockerfilepull        Download an image from a registrypush        Upload an image to a registryimages      List imageslogin       Authenticate to a registrylogout      Log out from a registrysearch      Search Docker Hub for imagesversion     Show the Docker version informationinfo        Display system-wide informationManagement Commands:ai*         Ask Gordon - Docker Agentbuilder     Manage buildsbuildx*     Docker Buildxcompose*    Docker Composecontainer   Manage containerscontext     Manage contextsdebug*      Get a shell into any image or containerdesktop*    Docker Desktop commands (Beta)dev*        Docker Dev Environmentsextension*  Manages Docker extensionsfeedback*   Provide feedback, right in your terminal!image       Manage imagesinit*       Creates Docker-related starter files for your projectmanifest    Manage Docker image manifests and manifest listsnetwork     Manage networksplugin      Manage pluginssbom*       View the packaged-based Software Bill Of Materials (SBOM) for an imagescout*      Docker Scoutsystem      Manage Dockertrust       Manage trust on Docker imagesvolume      Manage volumesSwarm Commands:swarm       Manage SwarmCommands:attach      Attach local standard input, output, and error streams to a running containercommit      Create a new image from a container's changescp          Copy files/folders between a container and the local filesystemcreate      Create a new containerdiff        Inspect changes to files or directories on a container's filesystemevents      Get real time events from the serverexport      Export a container's filesystem as a tar archivehistory     Show the history of an imageimport      Import the contents from a tarball to create a filesystem imageinspect     Return low-level information on Docker objectskill        Kill one or more running containersload        Load an image from a tar archive or STDINlogs        Fetch the logs of a containerpause       Pause all processes within one or more containersport        List port mappings or a specific mapping for the containerrename      Rename a containerrestart     Restart one or more containersrm          Remove one or more containersrmi         Remove one or more imagessave        Save one or more images to a tar archive (streamed to STDOUT by default)start       Start one or more stopped containersstats       Display a live stream of container(s) resource usage statisticsstop        Stop one or more running containerstag         Create a tag TARGET_IMAGE that refers to SOURCE_IMAGEtop         Display the running processes of a containerunpause     Unpause all processes within one or more containersupdate      Update configuration of one or more containerswait        Block until one or more containers stop, then print their exit codesGlobal Options:--config string      Location of client config files (default"C:\\Users\\Administrator\\.docker")-c, --context string     Name of the context to use to connect to thedaemon (overrides DOCKER_HOST env var anddefault context set with "docker context use")-D, --debug              Enable debug mode-H, --host list          Daemon socket to connect to-l, --log-level string   Set the logging level ("debug", "info","warn", "error", "fatal") (default "info")--tls                Use TLS; implied by --tlsverify--tlscacert string   Trust certs signed only by this CA (default"C:\\Users\\Administrator\\.docker\\ca.pem")--tlscert string     Path to TLS certificate file (default"C:\\Users\\Administrator\\.docker\\cert.pem")--tlskey string      Path to TLS key file (default"C:\\Users\\Administrator\\.docker\\key.pem")--tlsverify          Use TLS and verify the remote-v, --version            Print version information and quitRun 'docker COMMAND --help' for more information on a command.For more help on how to use Docker, head to https://docs.docker.com/go/guides/C:\Users\Administrator>

二、配置Docker
打开Docker 应用时 不需要注册,直接跳过。
国外docker镜像 可能无法拉取,需在Docker中做DockerEngine的相关配置:
设置/Docker Engine中添加如下代码:

"experimental": false, 后加上如下Docker镜像地址,建议直接复制
"registry-mirrors": ["https://docker.m.daocloud.io/","https://huecker.io/","https://dockerhub.timeweb.cloud","https://noohub.ru/","https://dockerproxy.com","https://docker.mirrors.ustc.edu.cn","https://docker.nju.edu.cn","https://xx4bwyg2.mirror.aliyuncs.com","http://f1361db2.m.daocloud.io","https://registry.docker-cn.com","http://hub-mirror.c.163.com"
]
配置修改后,点击 Apply&restart 保存并重启Docker

全部配置参数如下所示:

{"builder": {"gc": {"defaultKeepStorage": "20GB","enabled": true}},"experimental": false,"registry-mirrors": ["https://docker.m.daocloud.io/","https://huecker.io/","https://dockerhub.timeweb.cloud","https://noohub.ru/","https://dockerproxy.com","https://docker.mirrors.ustc.edu.cn","https://docker.nju.edu.cn","https://xx4bwyg2.mirror.aliyuncs.com","http://f1361db2.m.daocloud.io","https://registry.docker-cn.com","http://hub-mirror.c.163.com"]}

三、启动Docker服务
启动前置条件:

BIOS设置
启用Intel Virtualization Techndogx
Intel VMX/AMD SVM等

控制面板设置/启用Window功能
Hyper-V
Virtual Machine Platform
Windows Subsystem for Linux
启用HV主机服务
Windows启动时启用了虚拟机监控程序

去掉HOSTS文件只读属性

重新关闭和启动hyper-v,来解决解决hyper-v导致docker无法启动问题
用管理员身份打开cmd,执行一下命令

1.禁用hyper-v
bcdedit /set hypervisorlaunchtype off

bcdedit /set hypervisorlaunchtype off 

2.重新启用hyper-v
bcdedit /set hypervisorlaunchtype auto

bcdedit /set hypervisorlaunchtype auto

解决WSL错误问题:

wsl --shutdown
wsl
wsl --update
wsl.exe --install --no-distribution

然后重启电脑
点击Apply 和restart功能
restart功能在界面底部Engine runing 后面的三个坚点下拉菜单中点击运行
在这里插入图片描述
本blog地址:https://blog.csdn.net/hsg77

http://www.zhongyajixie.com/news/14184.html

相关文章:

  • 做出网站seo搜索引擎优化软件
  • 张家港手机网站建设学前端去哪个培训机构
  • 网上有做任务赚钱的网站有哪些怎样在网上做宣传
  • 微信网站制作公司哪家好百度网盘官方下载
  • 个人律师网站模板公司品牌推广方案范文
  • 高中信息技术网站建设5月疫情最新消息
  • dedecms怎么做网站怎么推广一个产品
  • 计算机网站开发毕业论文题目大全一键优化免费下载
  • 杭州手机网站制作电脑公司网站推广和seo
  • 小企业网站建设价格外贸企业网站推广
  • 怎么开设网站 优帮云成都纯手工seo
  • 茂名市制作网站的公司seo零基础教学视频
  • 软件工程管理系统长沙谷歌优化
  • 蝶恋直播视频下载铜陵seo
  • 网站优化推广平台网站设计制作培训
  • 榆林市行政效能建设网站谷歌浏览器 安卓下载2023版
  • 音乐网站后台模板杭州关键词自动排名
  • 社旗网站设计西安百度框架户
  • 网站死链是什么网络推广营销方式
  • wordpress单页插件上海seo推广外包
  • 北京所有公司名单关键词优化的方法有哪些
  • 上海先进网站设计百度seo排名优化排行
  • 做网站建设销售工资百度推广后台登录入口官网
  • 安徽餐饮加盟网站建设网站免费发布与推广
  • 动易网站模版的制作每日关键词搜索排行
  • php服装网站模板网络推广合同
  • 给你一个网站你怎么做的吗google谷歌搜索引擎
  • 做网站的公司挣钱吗友情链接格式
  • 考研门户网站的建设百度指数查询工具
  • 瑞金网站建设qianhu微建站