MacOS Apple Silicon - Need help fixing my Rider environment for .Net Aspire

I am trying to develop a .Net Aspire application using Rider. The application incorporates docker containers for SQL Server and Redis. 

When I try to run the application in Rider, I get the following error:

Docker could not be found. The error from Docker invocation was: System.ComponentModel.Win32Exception (2): An error occurred trying to start process 'docker' with working directory '/Users/unndunn/Dev/PinIQ/Compete/src/PinIQ.Compete.AppHost'. No such file or directory

Docker is installed and running on my machine; here is the output from docker -v within a Rider terminal:

Docker version 25.0.3, build 4debf41

Rider is also able to run docker apps orchestrated using docker compose as seen in this screenshot:

Can anyone help me troubleshoot why Rider can't find docker when running/debugging my .Net Aspire app? Thanks in advance.

Rider environment:

JetBrains Rider 2023.3.3
Build #RD-233.14015.60, built on January 18, 2024
Licensed to Uchendu Nwachuku
Subscription is active until September 25, 2024.
Runtime version: 17.0.9+7-b1087.11 aarch64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
macOS 14.3.1
.NET Core v7.0.10 ARM64 (Server GC)
GC: G1 Young Generation, G1 Old Generation
Memory: 2048M
Cores: 10
Metal Rendering is ON
Non-Bundled Plugins: (233.14015.60)
 me.rafaelldi.aspire (0.2.4) (233.14015.147) (1.162.2) (

.Net Environment:

 Version:           8.0.201
 Commit:            4c2d78f037
 Workload version:  8.0.200-manifests.5638171e

Runtime Environment:
 OS Name:     Mac OS X
 OS Version:  14.3
 OS Platform: Darwin
 RID:         osx-arm64
 Base Path:   /usr/local/share/dotnet/sdk/8.0.201/

.NET workloads installed:
   Installation Source: SDK 8.0.200
   Manifest Version:    8.0.6/8.0.100
   Manifest Path:       /usr/local/share/dotnet/sdk-manifests/8.0.100/
   Install Type:        FileBased

   Installation Source: SDK 8.0.200
   Manifest Version:    8.0.0-preview.3.24105.21/8.0.100
   Manifest Path:       /usr/local/share/dotnet/sdk-manifests/8.0.100/
   Install Type:        FileBased

  Version:      8.0.2
  Architecture: arm64
  Commit:       1381d5ebd2

.NET SDKs installed:
  8.0.201 [/usr/local/share/dotnet/sdk]

.NET runtimes installed:
  Microsoft.AspNetCore.App 8.0.2 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
  Microsoft.NETCore.App 8.0.2 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]

Other architectures found:
  x64   [/usr/local/share/dotnet/x64]
    registered at [/etc/dotnet/install_location_x64]

Try to reset the solution by delete the .idea folder and invalidate IDE caches in File | Invalidate Caches always worth to try with it.

If you still have the problem, please consider creating a new support request in Help | Contact Support, link this forum in the ticket, I will guide you collect the full log bundle, upload to us and check further on it. Thank you!


Tao Sun Thank you for your response, and apologies in the delay in my follow-up.

I removed the .idea folder and invalidated caches as you suggested, but the error remains when I try to run the app. 

I have created a support ticket about it.

Thanks again.


Please sign in to leave a comment.