oscar
oscar copied to clipboard
The Docker daemon check in the local deployment script does not work in macOS
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/null
to check for the Docker status.