Closed lesaff closed 5 months ago
Hey @lesaff 👋🏼
Can you tell me more about your setup? How did you install PHP? How did you install Takeout?
When you this command docker info
, does it work for you (that's the command Takeout uses to check if Docker is available)?
PHP installed via brew
. Takeout installed via composer
. I wonder if it has something to do with me using Colima?
$ docker info
Client: Docker Engine - Community
Version: 24.0.2
Context: colima
Debug Mode: false
Plugins:
buildx: Docker Buildx (Docker Inc.)
Version: v0.10.4
Path: /Users/rudy/.docker/cli-plugins/docker-buildx
compose: Docker Compose (Docker Inc.)
Version: v2.17.3
Path: /Users/rudy/.docker/cli-plugins/docker-compose
dev: Docker Dev Environments (Docker Inc.)
Version: v0.1.0
Path: /Users/rudy/.docker/cli-plugins/docker-dev
extension: Manages Docker extensions (Docker Inc.)
Version: v0.2.19
Path: /Users/rudy/.docker/cli-plugins/docker-extension
init: Creates Docker-related starter files for your project (Docker Inc.)
Version: v0.1.0-beta.4
Path: /Users/rudy/.docker/cli-plugins/docker-init
sbom: View the packaged-based Software Bill Of Materials (SBOM) for an image (Anchore Inc.)
Version: 0.6.0
Path: /Users/rudy/.docker/cli-plugins/docker-sbom
scan: Docker Scan (Docker Inc.)
Version: v0.26.0
Path: /Users/rudy/.docker/cli-plugins/docker-scan
scout: Command line tool for Docker Scout (Docker Inc.)
Version: v0.10.0
Path: /Users/rudy/.docker/cli-plugins/docker-scout
Server:
ERROR: Cannot connect to the Docker daemon at unix:///Users/rudy/.colima/default/docker.sock. Is the docker daemon running?
errors pretty printing info```
Hmm, that's probably the reason. If docker info
doesn't run successfully (I see there's an error, so probably the exit code is an error), Takeout will not handle that correctly. Is there a docker info
replacement when using Colima?
Closing this. Let me know if there's a docker info
replacement for Colima. Right now, we're leaning on that command to return a non-zero exit code.
I keep getting "Docker is not available" error when I run
takeout enable
. See screenshots and info below:Thanks!