Fedora-29-install-nextcloud-docker

dnf install -y docker
systemctl start docker
systemctl enable docker

cat >/etc/docker/daemon.json<<EOF
{
  "registry-mirrors": ["https://docker.mirrors.ustc.edu.cn"]
}
EOF
systemctl restart docker

docker pull nextcloud

docker run -d --name docker --restart always -p 80:80 nextcloud

firewall-cmd --add-service=http
firewall-cmd --add-service=http --permanent