From 936a3dd1e6147bf0b24f0ae0c8f68ff1a8346c36 Mon Sep 17 00:00:00 2001 From: Hui Lan Date: Fri, 30 Jul 2021 13:20:01 +0800 Subject: [PATCH] build.sh: fix error: container name EnglishPal already in use. --- build.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/build.sh b/build.sh index c7c3019..9ac3f1a 100755 --- a/build.sh +++ b/build.sh @@ -4,6 +4,7 @@ cd /home/lanhui/englishpal # Stop service sudo docker stop EnglishPal +sudo docker rm EnglishPal # Rebuild container. Run this after modifying the source code. sudo docker build -t englishpal .