diff --git a/docker.sh b/docker.sh index 8a5db81..1b0153e 100644 --- a/docker.sh +++ b/docker.sh @@ -12,5 +12,5 @@ docker rmi smartopsweb:latest echo '----build image start----' docker build -t smartopsweb:latest . echo '----build image success----' -docker run --name smartopsweb --restart=always -d -p 28081:80 smartopsweb:latest +docker run --name smartopsweb --link smartopsserver --restart=always -d -p 28081:80 smartopsweb:latest