mat ess
ddd291cc57
git-subtree-dir: docker git-subtree-mainline: |
||
---|---|---|
.. | ||
docker-entrypoint.d | ||
etc/docker | ||
Dockerfile | ||
README.md | ||
entrypoint | ||
fly.toml |
README.md
Fly Docker Daemon
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.
Installation
- Clone this repository
fly launch
, follow the prompts- Select
n
when 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
Get Connected
- Create a WireGuard peer with
fly wireguard create
- Setup WireGuard with generated config
fly ips private
to get the IP of your Daemon- Set the
DOCKER_HOST
env variable using that IP:export DOCKER_HOST=tcp://[fdaa:0:5d2:a7b:81:0:26d4:2]:2375
Final Step
- Delete the Docker Engine from your local system.
- You probably want to scale your remote Daemon:
fly scale vm dedicated-cpu-2x