zjd2626

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

 

分类:

技术点:

相关文章:

  • 2021-12-05
  • 2021-12-15
  • 2021-12-15
  • 2021-11-27
  • 2021-11-13
  • 2022-01-18
  • 2021-08-23
  • 2021-12-05
猜你喜欢
  • 2022-12-23
  • 2021-11-25
  • 2022-12-23
  • 2021-11-04
  • 2021-12-08
相关资源
相似解决方案