Skip to content
This repository has been archived by the owner on Feb 2, 2022. It is now read-only.

Latest commit

 

History

History
73 lines (49 loc) · 1.82 KB

setup.Windows10.md

File metadata and controls

73 lines (49 loc) · 1.82 KB

{% include nav.html %}

Windows 10 setup for Docker DSpace

Install Docker Desktop

https://docs.docker.com/docker-for-windows/install/

Install Git Bash as a terminal for running Docker

This shell most closely mirrors the user experience for MacOS and Linux users

https://git-scm.com/downloads

Run the following command to verify your install

  git version

Note for Windows users running docker commands

  • When running a DSpace command that requires terminal interaction, prefix your docker command with winpty
  • When referencing a the root directory of a docker container, use // instead of /.
    • Example use //dspace/bin/dspace for /dspace/bin/dspace

Verify Running Docker from your Terminal

winpty docker run -it --rm ubuntu //bin/bash

Enter echo hello then enter exit

root@653eeaeb274b:/# echo hello
hello
root@653eeaeb274b:/# exit
exit

Download DSpace Docker Compose Files

cd
git clone https://github.com/DSpace-Labs/DSpace-Docker-Images.git
cd DSpace-Docker-Images/docker-compose-files/dspace-compose

Verify Docker Compose

docker-compose version

Check your download of DSpace Compose Files

docker-compose config | grep container_name

Verify your memory allocation for Docker

Note: DSpace Docker requires a minimum of 5-6G of RAM allocated to Docker in order to run.

Run the following command to verify your memory allocation for Docker.

docker info | grep Memory

If less that 5G has been allocated to Docker, you can configure memory for Docker.

Start using DSpace-Docker