docker run -d --name my_seafile1 --privileged -p 80:80 -p 8000:8000 -p 8082:8082 centos:centos7 /sbin/init
docker exec -i -t my_seafile1 /bin/bash
wget -O /etc/yum.repos.d/epel.repo http://mirrors.aliyun.com/repo/epel-7.repo
mkdir seafile
wget https://seafile-downloads.oss-cn-shanghai.aliyuncs.com/seafile-server_7.0.5_x86-64.tar.gz
tar -xzf seafile-server_*
yum -y install python-imaging python-ldap python-urllib3 ffmpeg ffmpeg-devel python2-pip
mkdir ~/.pip
cd ~/.pip
vi ~/.pip/pip.conf
[global]
index-url = https://mirrors.aliyun.com/pypi/simple/
[install]
trusted-host=mirrors.aliyun.com
pip install --upgrade pip
pip install --upgrade setuptools
pip install pillow moviepy
./setup-seafile.sh