Apify

Apify and Crawlee Official Forum

b
F
A
J
A

Docker RUN --mount

I am trying to use RUN --mount inside my docker :
Plain Text
RUN --mount=from=builder,target=/__src__ /python3 /main.py --setup


but it failed :

Plain Text
ACTOR: ERROR: Docker image build failed: the --mount option requires BuildKit. Refer to https://docs.docker.com/go/buildkit/ to learn how to build images with BuildKit enabled


I am still not familiar with docker creation. any clue how to fix this ?
Thank You.
L
!
2 comments
Hi
Unfortunately our workers don't support Docker BuildKit, so the RUN --mount command is not available in our Actors.
Gotcha, Thanks! 😊
Add a reply
Sign up and join the conversation on Discord
Join