This is a Docker Daemon that runs on Fly.io and can be used to offload builds and other tasks to a Fly app running in a city near you.
- Clone this repository
fly launch, follow the prompts- Select
nwhen it asks if you want to deploy - Create a volume in a region of your choice:
fly volumes create data --size 50 --region ord - Deploy
- Create a WireGuard peer with
fly wireguard create - Setup WireGuard with generated config
fly ips privateto get the IP of your Daemon- Set the
DOCKER_HOSTenv variable using that IP:export DOCKER_HOST=tcp://[fdaa:0:5d2:a7b:81:0:26d4:2]:2375
- Delete the Docker Engine from your local system.
- You probably want to scale your remote Daemon:
fly scale vm dedicated-cpu-2x