Giter VIP home page Giter VIP logo

docker-daemon's Introduction

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

  1. Clone this repository
  2. fly launch, follow the prompts
  3. Select n when it asks if you want to deploy
  4. Create a volume in a region of your choice: fly volumes create data --size 50 --region ord
  5. Deploy

Get Connected

  1. Create a WireGuard peer with fly wireguard create
  2. Setup WireGuard with generated config
  3. fly ips private to get the IP of your Daemon
  4. Set the DOCKER_HOST env variable using that IP:
    export DOCKER_HOST=tcp://[fdaa:0:5d2:a7b:81:0:26d4:2]:2375
    

Final Step

  1. Delete the Docker Engine from your local system.
  2. You probably want to scale your remote Daemon: fly scale vm dedicated-cpu-2x

docker-daemon's People

Contributors

jeromegn avatar mrkurt avatar rubys avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

docker-daemon's Issues

Restart loop on `flyctl deploy`

I'm using the repo roughly as-is and trying to launch the docker daemon. The app starts up, but then seems to immediately shut down:

2022-08-27T02:31:30.489 app[c5cddc15] ewr [info] Running dockerd -p /var/run/docker.pid
2022-08-27T02:31:31.448 app[c5cddc15] ewr [info] Starting clean up.
2022-08-27T02:31:31.463 app[c5cddc15] ewr [info] Umounting /dev/vdc from /data 

Should any changes be necessary to get this working? I'm attempting to try this out with pretty small resource allocations, could that be part of the issue?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.