Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

NOTE: While this shuts down the Docker containers, all the data/files/user accounts you created will be retained (and will appear the next time to start the containers)

Code Block
# FromStop yourthe localbackend
cd "DSpace" folder run. This stops BOTH the frontend and the backend
docker-compose -p d7 down

# NOTE:Stop Youthe also can stop both from your "dspace-angular" folder, but the command is slightly longer:
# frontend
cd ../dspace-angular
docker-compose -p d7 -f docker/docker-compose.yml down

...

Code Block
# First, shutdown everything that's running in Docker
docker stop $(docker ps -a -q)

# Now, delete all Docker containers from your machine
docker rm $(docker ps -a -q)

# Remove all Docker volumes (data) from your machine
docker volume rm $(docker volume ls -q)

# Finally, you may delete the "DSpace" and "dspace-angular" folders if you no longer wish to use them.
# You may also uninstall Docker Desktop as needed, etcand GitHub CLI if you wish.