Docker deployment script issu

this is the script I used to deploy docker automatically

docker stop timesguide-service \
&& docker rm timesguide-service \
&& cd /app/timesguide-service \
&& docker build -t timesguide-service . \
&& docker run -e TZ="Asia/Shanghai" -d timesguide-service

No problem on the compiled image machine

but on the new machine, it will appear:
Error response from daemon: No such container:

will not be able to proceed to the next step, please tell me that the script should be modified?

Mar.09,2021

& & means "union" and requires that the previous instructions be executed correctly. Since there is no container, execution will report an error,
, so change the first two & & to ; sign or line break.

docker stop timesguide-service \
; docker rm timesguide-service \
; cd /app/timesguide-service \
&& docker build -t timesguide-service . \
&& docker run -e TZ="Asia/Shanghai" -d timesguide-service

Menu