docker添加国内仓库安装iredmail
centos 7:
1、yum install docker or yum update docker
sudo tee /etc/docker/daemon.json <<-'EOF'
{
"registry-mirrors": ["https://registry.docker-cn.com"]
}
EOF
root@clouder:~# cat /etc/docker/daemon.json
{
"registry-mirrors": ["https://registry.docker-cn.com"]
}
systemctl restart docker
docker pull cema/iredmail:example
sudo docker run -d -p 10443:443 -P -h mail.example.com cema/iredmail:example init 2
访问:
邮箱: https://localhost:10443/mail
管理后台:https://localhost:10443/iredadmin
With login: postmaster@example.com
And password: password_pm
ubuntu:
1、apt update
2、apt install docker.io
3、sudo tee /etc/docker/daemon.json <<-'EOF'
{
"registry-mirrors": ["https://registry.docker-cn.com"]
}
EOF
service docker restart
sudo docker pull cema/iredmail:example
sudo docker run -d -p 10443:443 -P -h mail.example.com cema/iredmail:example init 2
访问:
邮箱: https://localhost:10443/mail
管理后台:https://localhost:10443/iredadmin
With login: postmaster@example.com
And password: password_pm
最新文章
- ora-01031:insufficient privileges解决方法 - 转
- centos7下cups + samba共打印服务的教程
- URIEncoding和useBodyEncodingForURI详解
- 【Linux】之系统工具top
- 转——Android测试之monkey
- (六) 6.1 Neurons Networks Representation
- LINUX启动ORACLE监听和服务
- 字符集编码Unicode ,gb2312 cp936
- Text Kit入门
- Android开发系列之调用WebService
- SharePoint服务器将连接配置数据库的连接字符串保存在什么地方?
- MySQL--mysqldump的权限说明
- C语言之回文数算法
- html简单的知识
- spark-2.4.0-hadoop2.7-安装部署
- shell编程其实真的很简单(一)
- 随机生成10元素数组并找出最大元素(Java)
- LOJ2803 CCC2018 平衡树 数论分块、记忆化搜索
- Redis之AOF重写及其实现原理
- AWS SDK for C++调用第三方S3 API
热门文章
- Ignite集群管理——基于静态IP的节点发现
- 2018-2019-2 20165209 《网络对抗技术》Exp7: 网络欺诈防范
- JS函数调用的四种方法
- centos 网卡名称修改
- Linux中Postfix虚拟用户及虚拟域(六)
- MySQL Crash Course #07# Chapter 15. 关系数据库. INNER JOIN. VS. nested subquery
- java replaceAll之$替换
- 20145127 《Java程序设计》第四次实验报告
- JS引擎深入分析
- 如何解析读取excel数据