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?