Cannot use pg create with --image-ref because "could not reserve IPs for machine: insufficient IPs available to fulfill request"

I’ve forked postgres-flex. I’m from the ticket about deploying from a dockerfile. When I try to do pg create with --image-ref, it complains.

Build Docker Image

docker build . -t /: --platform linux/amd64

Push to a public registry

docker push /:

Specify image with PG create

fly pg create --name --image-ref /:

All pg helpers are still accessible, but you will need to specify the FLY_DEV=1 env var.

FLY_DEV=1 fly pg connect --app

Error: failed to launch VM: aborted: could not reserve IPs for machine: insufficient IPs available to fulfill request

Anyone seen this?

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.