#!/bin/bash
# owned by pear limited
# f@pear.hk


apt -y install docker.io

wget http://ali.webrtc.win/pear_engine_service/lego_Pear-mine_v0.14.tar.gz

docker load < lego_Pear-mine_v0.14.tar.gz

rm -rf lego_Pear-mine_v0.14.tar.gz

docker run --name tencent_sv --net=host --env MAC=90:e2:ba:3f:2b:07 --env NIC=enp66s0f1 -v /sata1:/lego/extern1 -v /sata2:/lego/extern2 -v /sata3:/lego/extern3 -v /sata4:/lego/extern4 -v /etc/localtime:/etc/localtime -d image_id

rm -rf install_services.sh
