summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbuild/create_repo.sh4
1 files changed, 0 insertions, 4 deletions
diff --git a/build/create_repo.sh b/build/create_repo.sh
index 8fce53cc..ea2b8969 100755
--- a/build/create_repo.sh
+++ b/build/create_repo.sh
@@ -133,10 +133,6 @@ fi
#Check if container "centos-repo" is running
if [ ! "$(docker ps -q -f name=$container_name)" ]; then
- if [ "$(docker ps -aq -f status=exited -f name=$container_name)" ]; then
- # cleanup
- docker rm $container_name
- fi
# run repo container
# name of container $container_name
# docker entrypoint script from mounted volume