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

最新文章

  1. ora-01031:insufficient privileges解决方法 - 转
  2. centos7下cups + samba共打印服务的教程
  3. URIEncoding和useBodyEncodingForURI详解
  4. 【Linux】之系统工具top
  5. 转——Android测试之monkey
  6. (六) 6.1 Neurons Networks Representation
  7. LINUX启动ORACLE监听和服务
  8. 字符集编码Unicode ,gb2312 cp936
  9. Text Kit入门
  10. Android开发系列之调用WebService
  11. SharePoint服务器将连接配置数据库的连接字符串保存在什么地方?
  12. MySQL--mysqldump的权限说明
  13. C语言之回文数算法
  14. html简单的知识
  15. spark-2.4.0-hadoop2.7-安装部署
  16. shell编程其实真的很简单(一)
  17. 随机生成10元素数组并找出最大元素(Java)
  18. LOJ2803 CCC2018 平衡树 数论分块、记忆化搜索
  19. Redis之AOF重写及其实现原理
  20. AWS SDK for C++调用第三方S3 API

热门文章

  1. Ignite集群管理——基于静态IP的节点发现
  2. 2018-2019-2 20165209 《网络对抗技术》Exp7: 网络欺诈防范
  3. JS函数调用的四种方法
  4. centos 网卡名称修改
  5. Linux中Postfix虚拟用户及虚拟域(六)
  6. MySQL Crash Course #07# Chapter 15. 关系数据库. INNER JOIN. VS. nested subquery
  7. java replaceAll之$替换
  8. 20145127 《Java程序设计》第四次实验报告
  9. JS引擎深入分析
  10. 如何解析读取excel数据