学习前提
1.Docker在阿里云上(Centos)下载安装
2. 在阿里云(Centos)的docker容器里安装部署tomcat
3. docker创建本地仓库并提交
下载工具
windows10为例子,windows7和8的下载看菜鸟教程即可
- Docker 有专门的 Win10 专业版系统的安装包,需要开启 Hyper-V
这个面板按windows键然后搜索启动或关闭Windows功能即可进入
- 安装Toolbox下载windows版本即可
- 注册登录账号
- 配置
{
"registry-mirrors": [
"https://hub-mirror.c.163.com/",
"https://registry.docker-cn.com"
],
"insecure-registries": [
"windowsip地址:端口",
"linux地址:端口"
],
"debug": true,
"experimental": false
}
insecure-registries
不设置会报https的错误