9 lines
208 B
Bash
9 lines
208 B
Bash
|
img=registry.cn-hangzhou.aliyuncs.com/fullstack/fullstack.web
|
||
|
name=fullstack.web
|
||
|
docker pull $img
|
||
|
docker rm -vf $name
|
||
|
docker run -d --restart always \
|
||
|
--name $name \
|
||
|
-p 8081:80 \
|
||
|
$img
|