From 57b14e8cfc51cab4009cc92472974eb876013303 Mon Sep 17 00:00:00 2001 From: huangsk <645636204@qq.com> Date: Wed, 22 Dec 2021 17:32:09 +0800 Subject: [PATCH] docker restart error --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index d77af70ef..dfc7f6020 100644 --- a/Dockerfile +++ b/Dockerfile @@ -28,4 +28,4 @@ RUN mkdir -p /var/lib/ssdb && \ ENV TZ Asia/Shanghai EXPOSE 8888 VOLUME /var/lib/ssdb -ENTRYPOINT /usr/bin/ssdb-server /etc/ssdb.conf +ENTRYPOINT rm -f /run/ssdb.pid && /usr/bin/ssdb-server /etc/ssdb.conf