Skip to content

Issue with crawl4ai using docker on intel mac #32

@rothnic

Description

@rothnic

I ran the docker-start.sh script. Everything seemed to start up correctly, but i received this error when i started a crawl:

[ERROR] 🚫 arun(): Failed to crawl https://stately.ai/docs, error: BrowserContext.new_page: Target page, context or browser has been closed

I looked at the console output again and noticed this issue:

 ! crawl4ai The requested image's platform (linux/arm64/v8) does not match the detected host platform (linux/amd64/v3) and no specific platform was requested                                   0.0s 

I took a look at the crawl4ai issues and found this discussion: unclecode/crawl4ai#554

So, I tried using this in the docker-compose file instead: image: unclecode/crawl4ai:basic-amd64, but you can see the discussion here about the image being old and having issues when built manually.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions