Setting Up Neurodesktop on Windows for Neuroimaging Analysis
Prerequisites and Installation
System Requirements
A base Neurodesktop image requires approximately 3 GB of storage.
Install Docker
Docker must be installed as a prerequisite. Download and install Docker Desktop for Windows from the official Docker website. A system restart is required after installation.
Launching Neurodesktop
Recommended Method: Neurodesk App
The simplest method is to use the cross-platform Neurodesk Desktop Application.
- Download the application from the Neurodesk website.
- During setup, verify you're system permissions (e.g., administrator rights) to determine the appropriate execution engine.
- This application manages the Docker backend and Neurodesktop session automatically.
Manual Docker Container Method
For direct control, you can run Neurodesktop via Docker commands in a terminal.
Step 1: Create a Persistent Storage Volume
Create a Docker volume to preserve user data, such as configurations and scripts, independent of the container lifecycle.
docker volume create neurodesktop-data
Step 2: Run the Neurodesktop Container
Execute the following command to download the image and start the container. This command includes conifgurations for memory, privileges, data persistence, and network access.
docker run --shm-size=1gb -it --privileged --user=root --name neurodesktop-container \
-v D:/neurodesktop-workspace:/neurodesktop-workspace \
--mount source=neurodesktop-data,target=/home/analyst \
-p 8888:8888 \
-e NEURODESKTOP_VERSION=2025-06-10 \
vnd/neurodesktop:2025-06-10
Command Breakdown:
--shm-size=1gb: Allocates 1GB of shared memory for applications.--privileged: Grants extended privileges for hardware access.--user=root: Runs processes inside the container as the root user.-v D:/neurodesktop-workspace:/neurodesktop-workspace: Binds a host directory for shared project data.--mount source=neurodesktop-data,target=/home/analyst: Mounts the persistent volume to the user's home directory.-p 8888:8888: Maps the host's port 8888 to the container's JupyterLab service.-e NEURODESKTOP_VERSION=2025-06-10: Sets an anvironment variable for version specification.vnd/neurodesktop:2025-06-10: Specifies the Docker image and its tag.
Accessing the Neurodesktop Interface
- Keep the terminal window open after the container starts. Closing it will terminate the container.
- Open a web browser and navigate to one of the URLs provided in the terminal output (e.g.,
http://127.0.0.1:8888/lab?token=<your_token>).- Note: Firefox on Windows 10 may have issues accessing
localhost; Chrome or Edge is recommended. - The token parameter provides secure authentication for JupyterLab.
- Note: Firefox on Windows 10 may have issues accessing
- With in the browser interface, select "Desktop Auto-Resolution" under the connection options.
- The first launch may involve an automated setup process.
Working with Neuroimaging Tools
Once launched, numerous neuroimaging applications (e.g., FSL, FreeSurfer) are available. They can be accessed and executed via the terminal within Neurodesktop or through Jupyter notebooks.
Managing Data Storage
Drag-and-Drop
Files can be uploaded by dragging them directly into the Jupyter file browser or the desktop area. To download, press Ctrl+Alt+Shift to open a connection window and select "Shared Drive".
Local Storage
Utilize the bind-mounted host directory (D:/neurodesktop-workspace in the example) for data that persists on your local machine.
Cloud Storage
Neurodesktop supports connections to cloud storage services. Refer to the official storage documentation for configuration details.