[英]How to create a .bat file to install docker-desktop on windows 10 pro
I'm creating a project that runs inside a docker container, my project used to run on Linux but now I need to add support to Windows 10 , but the user needs to install docker I used to have a shell script .sh file that installs Docker and docker-compose on ubuntu.我正在创建一个在docker容器内运行的项目,我的项目曾经在Linux上运行,但现在我需要添加对Windows 10 的支持,但用户需要安装 docker 我曾经有一个安装的 shell 脚本.sh文件Ubuntu 上的Docker和docker-compose 。
But I wonder if there is a easy way for the user to install docker-desktop on windows without going to the docker website and downloading the installer and installing it.但是我想知道是否有一种简单的方法可以让用户在 Windows 上安装 docker-desktop,而无需访问 docker 网站并下载安装程序并安装它。
can I use a .bat file to automate that process and maybe use choco windows package manager or another way?我可以使用.bat文件来自动执行该过程,并且可以使用choco Windows 包管理器或其他方式吗?
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.