Skip to content

Commit

Permalink
Added notes for installing docker and for removing unnecessary docker…
Browse files Browse the repository at this point in the history
… containers/volumes
  • Loading branch information
rizzo-rocks committed Mar 22, 2024
1 parent af0a5e2 commit 8d375d1
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions ChordsUpgradeSteps.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 <Container ID>
# Alternatively, you can remove the container
docker rm <Container ID>

# Check for unnecessary docker volumes:
docker volume ls
# Remove any competing/unnecessary volumes:
docker volume rm <Volume Name>

# Renew the control script:
# Choose the CHORDS versions that match the version
# that the backup file was created on.
Expand Down

0 comments on commit 8d375d1

Please sign in to comment.