- name="admin-api"
- ip="172.17.0.1"
- port=8088
- docker stop ${name} && docker rm ${name} && docker rmi ${name}
- docker pull sgccr.ccs.tencentyun.com/game/${name}:latest
- docker tag sgccr.ccs.tencentyun.com/game/${name}:latest ${name}:latest
- docker rmi sgccr.ccs.tencentyun.com/game/${name}:latest
- docker run -it -d --restart=always -e IP=${ip} -v /data/log:/var/log --name=${name} -p ${port}:${port} ${name}
|