QUOTE:
yum install -y yum-utils device-mapper-persitent-data lvm2
yum list docker-ce --showduplicates | sort -r
yum-config-manager --add-repo
https://download.docker.com/linux/centos/docker-ce.repoyum-config-manager --add-repo
http://mirrors.ustc.edu.cn/docker-ce/linux/centos/docker-ce.repoyum-config-manager --add-repo
http://mirrors.aliyun.com/docker-ce/linux/centos/docker-ce.repoyum install docker-ce
systemctl stop firewalld
systemctl disable firewalld
docker search dsm
docker pull vdsm/virtual-dsm
docker run -it --name synology-moments -p 8000:8000 -p 9000:9000 linuxserver/synology-moments
docker run -it --name virtual-dsm -p 8000:8000 -p 9000:9000 vdsm/virtual-dsm
mkdir -p /home/docker/synology/data
mkdir -p /home/docker/synology/config
$ docker run -d \
-p 5000:5000 \
-p 5001:5001 \
-p 80:80 \
-p 443:443 \
-v /home/docker/synology/data:/var/services \
-v /home/docker/synology/config:/config \
vdsm/virtual-dsm
docker run -d -p 8000:8000 -p 9000:9000 --name portainer --restart=always -v /var/run/docker.sock:/var/run/docker.sock -v portainer_data:/data portainer/portainer