- Terry Brady, Georgetown University Library
- Pascal Becker, The Library Code
@size20px
Note:
- Kristi presents
- March 5th, 8am pt, 11am ET, 5pm CET
- https://duraspace.org/webinar-registration-open-dspace-docker-for-repository-managers-running-any-version-of-dspace-from-your-desktop/
+++
- Software Developer, Georgetown University Library
- DSpace Committer
- https://github.com/terrywbrady/info
Note: Terry presents
+++
- CEO and founder of The Library Code
- Senior Software Developer at Technische Universität Berlin
- DSpace Committer
- https://www.the-library-code.de/
Note: Pascal presents
- 2018 the DSpace for Docker was created
- Possible to start any version of DSpace from your desktop
- (Windows 10, MacOS, Linux)
- Great potential for repository managers
+++
- Repository Managers who want to ...
- preview new DSpace functionality
- become more involved in DSpace development
- test certain functionality of DSpace
- Developers who want to ...
- learn how they can get started with the project
- use DSpace within Docker as part of their development environment
+++
- What is a Docker image and what are Containers
- What Docker images have been published for DSpace
- How to install Docker
- How to launch DSpace 6 and DSpace 7 using Docker
- How to participate in DSpace testing using Docker
In our first demo, we want to show you how easy it is to get DSpace 7 runing. For this demo, we have already
- Installed Docker
- Installed a command line tool
- Downloaded some code to help us start DSpace
Note: Terry presents
cd
git clone https://github.com/DSpace-Labs/DSpace-Docker-Images.git
cd DSpace-Docker-Images/docker-compose-files/dspace-compose
+++
- It takes 2-3 minutes to start up
- The following command was already run
docker-compose -p d7 -f docker-compose.yml -f d7.override.yml up -d
+++?image=documentation/webinar/win.d7.start.gif
+++
- Docker Images
- DSpace Docker Images
- Docker Containers
- Docker Volumes
- Docker compose
Note: Pascal presents
+++
- Imagine you could
- install a complex application with its complete environment with one command
- pack a whole environment into one package
Docker Images make that possible.
+++
An Image is
- A snapshot of an application and its complete environment
- Published Online
- On docker hub
- Or in a private repository
- Can be shared and downloaded
+++
- DSpace 7x, DSpace 6x, DSpace 5x, DSpace 4x
- Install content from DSpace AIP files on creation
- DSpace Database
- DSpace Angular UI
- Published to https://hub.docker.com/r/dspace/dspace
+++
- A running version of a docker image
- Like a small server running within your desktop
- Containing a complete environment
- Containing an application or service
- Started and stopped by Docker
- Runs independently of other applications
+++
- Images package a complete environment needed to run an application
- Containers can be deleted when they are stopped
- A container can be thrown away and recreated easily as the image defines it well
+++
- Can be (re-)used when a container starts
- Volumes outlive the containers that uses them
- Like a really small disk drive or network drive
- Data you wish to save must be stored in a volume
+++
- Docker compose is a command to control environments of multiple containers that work together
- DSpace Database
- DSpace Web Server
- Angular UI (for DSpace 7)
- Build, start, stop, ... all necessary containers for a service or application
- Try out a DSpace feature without impacting your existing instance
- Preview an enhancement or new version
- Give input on the implementation
- Verify a bug fix before it is released
- Onboard new developers and repository managers to the project
- Install Docker Desktop
- Install a terminal for running docker
- Download DSpace Docker Compose files
Note: Terry presents
+++
- @gitlinkWindows 10 Setup
- @gitlinkMacOS Setup
- @gitlinkLinux Desktop Setup
+++
git version
docker version
docker-compose version
+++?image=documentation/webinar/win.versions.gif
+++
cd
git clone https://github.com/DSpace-Labs/DSpace-Docker-Images.git
cd DSpace-Docker-Images/docker-compose-files/dspace-compose
+++?image=documentation/webinar/win.clone.gif
+++
+++
+++?code=docker-compose-files/dspace-compose/docker-compose.yml&lang=yml Docker Compose File @[4-8](DSpace Database Image Name) @[19-21](DSpace Image Definition) @[24-27](Default Administrator Credentials) @[28](AIP Files to ingest on initial startup) +++?code=docker-compose-files/dspace-compose/d6.override.yml&lang=yml DSpace 6 Overrides @[5](Default DSpace 6 Image)
+++
docker-compose -p d6 -f docker-compose.yml -f d6.override.yml up -d
+++?image=documentation/webinar/win.d6.start.gif
+++
- dspace version
- dspace index-discovery
- dspace filter-media
- dspace oai import
+++?image=documentation/webinar/win.d6version.gif
+++
+++?image=documentation/webinar/d6.web.gif
+++
docker-compose -p d6 -f docker-compose.yml -f d6.override.yml down
+++?image=documentation/webinar/win.d6.down.gif
+++
+++?code=docker-compose-files/dspace-compose/d7.override.yml&lang=yml DSpace 7 Overrides @[5](Default DSpace 7 Image) @[13-15](DSpace Angular Image) @[16-18](Ports for Angular) @[23-26](Location of the DSpace REST API)
+++
docker-compose -p d7 -f docker-compose.yml -f d7.override.yml up -d
+++?image=documentation/webinar/win.d7.start.gif
+++
+++?image=documentation/webinar/d7.rest.gif
+++
docker exec dspace //dspace/bin/dspace index-discovery
+++
+++?image=documentation/webinar/d7.angular.gif
+++
docker-compose -p d7 -f docker-compose.yml -f d7.override.yml down
+++?image=documentation/webinar/win.d7.down.gif
- Try it yourself, give us feedback on the documentation
- Join the #dspace-docker Slack Channel
- Help us assemble assets to distribute in AIP files
+++
- Curating and Assembling AIP Resources
- Public domain / restriction free
- Real repository content (but not very large)
- Small PDFs
- Small image
- Realistic metadata
- DSpace Docker Tutorial Overview
- Docker Documentation
- Docker Compose Documentation
- Join the #dspace-docker Slack Channel
- Could you imagine using this capability?
- What would be needed to make this compelling for the repository manager community?
- What ideas do you have?
- What questions do you have?
- Terry Brady, Georgetown University Library
- Pascal Becker, The Library Code
@size20px