From 8d375d11da68bdd266ed5c4df9226dae7e016473 Mon Sep 17 00:00:00 2001 From: rebecca-zieber Date: Fri, 22 Mar 2024 10:57:09 -0700 Subject: [PATCH] Added notes for installing docker and for removing unnecessary docker containers/volumes --- ChordsUpgradeSteps.md | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/ChordsUpgradeSteps.md b/ChordsUpgradeSteps.md index 89d8b9f1..65a29c1f 100644 --- a/ChordsUpgradeSteps.md +++ b/ChordsUpgradeSteps.md @@ -57,12 +57,36 @@ This procdure is almost exactly as that found in the CHORDS install mkdir -p chords-test cd chords-test +# If you already have docker-compose installed: # Install python sh module: pip3 install sh==1.14.3 # MUST use this version of sh +# If you do not have docker-compose installed: +# Download Docker Compose binary into /usr/local/bin: +sudo curl -L "https://github.com/docker/compose/releases/latest/download/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose +# Apply execute permissions: +sudo chmod +x /usr/local/bin/docker-compose +# Verify installation: +docker-compose --version +# Install python sh module: +pip3 install sh==1.14.3 # MUST use this version of sh + + # Fetch the control script: curl -O -k https://raw.githubusercontent.com/earthcubeprojects-chords/chords/master/chords_control +# Check for competing Docker containers on Port 3000: +docker ps +# Stop any containers on Port 3000 +docker stop +# Alternatively, you can remove the container +docker rm + +# Check for unnecessary docker volumes: +docker volume ls +# Remove any competing/unnecessary volumes: +docker volume rm + # Renew the control script: # Choose the CHORDS versions that match the version # that the backup file was created on.