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

太原推广型网站建设深圳外包seo

太原推广型网站建设,深圳外包seo,网页版传奇游戏排行榜,石家庄做网站备案有哪些公司windows下DockerDesktop指定目录安装(重新安装) 因为DcokerDesktop占用内存较大, 并且拉去镜像后占用本地空间较多,所以建议安装时就更改默认安装路径和镜像存储路径 这里,展示了从下载到安装的过程: 首先下载DcokerDesktop;找到Docker Desktop Installer.exe 并重命名为 do…

windows下DockerDesktop指定目录安装(重新安装)

因为DcokerDesktop占用内存较大, 并且拉去镜像后占用本地空间较多,所以建议安装时就更改默认安装路径镜像存储路径

这里,展示了从下载到安装的过程:

  1. 首先下载DcokerDesktop;
  2. 找到Docker Desktop Installer.exe 并重命名为 dockerdesk.exe , 并建议将其移动到全英文路径下(我这里放在了J:/dockerdesk.exe);
  3. 阅读官方安装指南docker desktop从命令行安装install-from-the-command-line 按需要添加参数,更改默认安装目录.
    可以看到, 文档中官方给出的命令行参数说明很详细;

可以在本地powershell中使用 如下方式查看dockerdesk.exe都有哪些参数: (记得重命名, .exe名称有空格,用cmd执行起来比较麻烦)

PS J:\> ./dockerdesk.exe --help
PS J:\> 
Installs Docker Desktop"dockerdesk.exe" install [--quiet] [--accept-license] [--backend=wsl-2 | --backend=hyper-v | --backend=windows] [--allowed-org=<org name>]--quiet                   Suppresses information output when running the installer
--accept-license          Accepts the Docker Subscription Service Agreement now, rather than requiring it to be accepted when the application is first run
--no-windows-containers   Disables Windows containers integration
--allowed-org=<org name>  Requires the user to sign in and be part of the specified Docker Hub organization when running the application
--backend=<backend name>  Selects the default backend to use for Docker Desktop, hyper-v, windows or wsl-2 (default)
--always-run-service  Keep service always running, so regular users can switch to windows containers or hyper-v without being prompted for admin rights
--installation-dir=<path> Changes the default installation location (C:\Program Files\Docker\Docker)     
--hyper-v-default-data-root=<path> Changes the default hyper-v VM disk location
--windows-containers-default-data-root=<path> Changes the default windows containers data root
--wsl-default-data-root=<path> Changes the default wsl data location
--admin-settings=<json> Used as admin settings for hardened desktop (needs to use --allowed-org and specify a business tier org)
--proxy-http-mode=<mode> HTTP Proxy mode, system (default) or manual
--override-proxy-http=<URL> URL of the HTTP proxy that must be used for outgoing HTTP requests
--override-proxy-https=<URL> URL of the HTTP proxy that must be used for outgoing HTTPS requests
--override-proxy-exclude=<hosts/domains> Bypass proxy settings for these hosts & domains, comma-separated list
--proxy-enable-kerberosntlm Enables Kerberos/NTLM proxy authentication
  1. 要做什么? 我的需求是

    • 指定 docker-desktop 安装位置(软件本体), 为 H:\program\DockerDesktop
    • 指定 docker-desktop-data 安装位置(本地镜像等存储路径,即为 Settings->Resources Advanced-> Disk image location的路径),为H:\program\DockerDesktopWSL
  2. 编写命令行(用powershellJ:/dockerdesk.exe同级目录执行)

使用了如下参数
./dockerdesk.exe install
–accept-license --backend=wsl-2
–installation-dir=‘docker-desktop安装位置’
–wsl-default-data-root=‘docker-desktop-data安装位置’

命令执行前,请创建好 H:\program\DockerDesktopWSL H:\program\DockerDesktop这两个安装文件夹,不然可能出现意外的错误.

我使用的安装命令为: (使用powershell执行)

./dockerdesk.exe install --accept-license --backend=wsl-2 --installation-dir='H:\program\DockerDesktop' --wsl-default-data-root='H:\program\DockerDesktopWSL' 
  1. 稍等片刻, 按照提示安装下一步next,安装完成.
  2. 打开软件,查看安装设置无误:
    在这里插入图片描述6

windows下DockerDesktop的安装位置迁移(不需要重新安装)

  • Win11 安装 Docker Desktop 和 WSL2 并进行安装位置迁移
http://www.hkea.cn/news/379854/

相关文章:

  • 天津手机网站建站培训代运营公司可靠吗
  • 网站制作的一般步骤长春网站优化平台
  • Python做网站 性能上海seo培训中心
  • 网上投诉平台公众号排名优化
  • 网页模板网站推荐媒体公关是做什么的
  • 泰安的网站建设公司爱站网域名查询
  • 台州椒江网站制作公司广告推销
  • 南康做网站合肥seo招聘
  • 成都网站建设定长沙专业网站制作
  • 有什么网站是python做的如何自己开发一个平台
  • 网站建设标志设计北京网站优化公司
  • 图标使用wordpress杭州seo博客
  • 企业网站如何做推广竞价推广托管公司介绍
  • 网站如何做微信登录seo公司 杭州
  • 中山里水网站建设软文广告案例分析
  • 做外贸是用什么网站做新型网络营销方式
  • 心理咨询网站开发百度手机seo软件
  • 17网站一起做网批seo营销优化
  • 做赚钱网站程序员培训班要多少钱
  • 已经收录大规模修改收录页面对网站有影响吗什么软件可以推广自己的产品
  • 丁香园做科室网站厦门网络推广
  • 免费的企业网站制作提高网站权重的方法
  • 兰州网站制作怎么样网页在线生成
  • 自建网站网址雅虎搜索引擎首页
  • 注册科技有限公司可以做网站吗百度搜索排名机制
  • 武汉做网站好网站制作多少钱一个
  • 安阳网站建设怎么从网上找客户
  • 文章博客媒体网站模板怎样在百度上打广告
  • 做网站是不是要模板直接打开百度
  • 哪个网站做app推广服务商