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: [email protected]
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: [email protected]
And password: password_pm