oscar icon indicating copy to clipboard operation
oscar copied to clipboard

The Docker daemon check in the local deployment script does not work in macOS

Open gmolto opened this issue 8 months ago • 0 comments

Expected Behavior

The local deployment approach: curl -sSL http://go.oscar.grycap.net | bash should correctly detect Docker in macOS.

Actual Behavior

Executing curl -sSL http://go.oscar.grycap.net | bash throws the error "Error: Docker daemon is not working!" even if the Docker daemon is up & running.

Specifications

  • Platform: macOS
  • Subsystem: Sonoma 14.5

Possible Solution

Use docker info instead of curl -s --unix-socket /var/run/docker.sock http://ping > /dev/nullto check for the Docker status.

gmolto avatar Jun 01 '24 16:06 gmolto