Running DSpace 7

Go to the Docker Compose Directory

cd
cd DSpace-Docker-Images/docker-compose-files/dspace-compose

Start DSpace 7

docker-compose -p d7 -f docker-compose.yml -f d7.override.yml pull
docker-compose -p d7 -f docker-compose.yml -f d7.override.yml up -d

Verify that DSpace is Running

docker ps

It will take 2-5 minutes for the services to start completely. Once they have started, you can view them on the web. The first time you start DSpace, it will load some default AIP content. This process takes an additional 3-5 minutes.

Index Content (does not automatically happen for DSpace 7)

MacOS/Linux

docker exec dspace /dspace/bin/dspace index-discovery

Windows

docker exec dspace //dspace/bin/dspace index-discovery

Next steps

See Common Tasks for additional actions you can take with your DSpace instance.

Stop DSpace 7

This option will pause your container and free up any ports in use. The container can be restarted.

docker-compose -p d7 -f docker-compose.yml -f d7.override.yml stop

Verify that DSpace has stopped

docker ps

Restart DSpace 7

docker-compose -p d7 -f docker-compose.yml -f d7.override.yml start

Verify that DSpace has restarted

docker ps

Terminate DSpace 7

This option will delete your docker container. When you bring up a new container, it will look for an updated image. Your database and assetstore will be preserved.

docker-compose -p d7 -f docker-compose.yml -f d7.override.yml down

Verify that DSpace has stopped

docker ps

Delete docker Volumes

This will allow you to build a fresh installation with new data.

docker volume rm d7_assetstore d7_pgdata d7_solr_authority d7_solr_oai d7_solr_search d7_solr_statistics