flyctl deploy always using remote builder

I am using the default Dockerfile builder but it looks like it always triggers the remote builder

docker deploy

My understanding is that in this case it should use the local Docker daemon (unless I set the --remote-only flag. Do I miss anything?

Thank you.

Remote only is the default now a days. Let me know do you see the opposite documented!

Try out --local-only (i think - it’s something like that) to force a local build.


Thanks for the answer.

--local-only works indeed like you suggest and uses the local Docker daemon

The docs say the opposite, or at least it is a bit unclear IMO

If you have Docker running locally, it builds it on your machine. If you don’t have Docker running locally, it builds it on a Fly build machine. Once your container is built, it’s deployed!